Message ID | 1398777440-12016-2-git-send-email-daniel.lezcano@linaro.org |
---|---|
State | Accepted |
Commit | 9afa27ce9414c92e271b0d7eec937bd9f5565da5 |
Headers | show
Return-Path: <patchwork-forward+bncBDIYTLXUW4BRBBGN72NAKGQEZXHQNBI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1BDFA202DD for <linaro@patches.linaro.org>; Tue, 29 Apr 2014 13:17:58 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id rp18sf944067iec.9 for <linaro@patches.linaro.org>; Tue, 29 Apr 2014 06:17:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=7QtnQ+EVH3RwAtddaotYhSi57AQZ4DdrASNbZFTL+ZA=; b=OdJLFiQoHg60m2QlGAw5TAkUnCmkoGe8aAuDcjALTqwGfqnOtTWhBpIGq7rY2ZhK7m DSIn3A5CCilzlSbSQKzLL2HCi18791ZaV2m84UNRMop9whAnIuKti79BeN/fmKrBuUEL Pi4lNpL9JpgDy7xCiEWA0w+iF0IhzLPu3VoNTgXdSsfUJaRqC8HdaHaWm+v9oqcPPs4n z3znDdTJYXf1pBk8ScJajHYWGNAlzmJ6D2gW9KOQilVGYK3Q5HEYtYJPpj9lGaAsL8D3 oEoGqhEsKXmU8igAXaTuF7mwLpn43uPI4IIHGjbUd36zvvZe/6bwLS14vfTZkV/nydt2 2G1g== X-Gm-Message-State: ALoCoQku31YixsigxGl38raFJWgvl7cPSpCq2GqatUG/e6n3++zfG9x/zxb3LFYCAcD+me12ig0N X-Received: by 10.182.33.161 with SMTP id s1mr16367437obi.12.1398777476267; Tue, 29 Apr 2014 06:17:56 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.84.72 with SMTP id k66ls83046qgd.96.gmail; Tue, 29 Apr 2014 06:17:56 -0700 (PDT) X-Received: by 10.58.198.75 with SMTP id ja11mr243487vec.59.1398777476058; Tue, 29 Apr 2014 06:17:56 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id sn5si4483332vdc.209.2014.04.29.06.17.56 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Apr 2014 06:17:56 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id im17so237047vcb.0 for <patchwork-forward@linaro.org>; Tue, 29 Apr 2014 06:17:55 -0700 (PDT) X-Received: by 10.220.191.134 with SMTP id dm6mr29804787vcb.16.1398777475918; Tue, 29 Apr 2014 06:17:55 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp196592vcb; Tue, 29 Apr 2014 06:17:55 -0700 (PDT) X-Received: by 10.50.134.164 with SMTP id pl4mr309031igb.21.1398777475221; Tue, 29 Apr 2014 06:17:55 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bo3si15766260icc.82.2014.04.29.06.17.54; Tue, 29 Apr 2014 06:17:54 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757560AbaD2NRY (ORCPT <rfc822;sandeep.tripathy@linaro.org> + 28 others); Tue, 29 Apr 2014 09:17:24 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:42279 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757511AbaD2NRW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 29 Apr 2014 09:17:22 -0400 Received: by mail-wi0-f171.google.com with SMTP id bs8so1195187wib.10 for <linux-kernel@vger.kernel.org>; Tue, 29 Apr 2014 06:17:21 -0700 (PDT) X-Received: by 10.180.76.166 with SMTP id l6mr204952wiw.17.1398777441058; Tue, 29 Apr 2014 06:17:21 -0700 (PDT) Received: from localhost.localdomain (AToulouse-654-1-448-67.w83-205.abo.wanadoo.fr. [83.205.199.67]) by mx.google.com with ESMTPSA id dg7sm31091275wjc.4.2014.04.29.06.17.19 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Apr 2014 06:17:20 -0700 (PDT) From: Daniel Lezcano <daniel.lezcano@linaro.org> To: tglx@linutronix.de, mingo@kernel.org Cc: Lorenzo.Pieralisi@arm.com, shc_work@mail.ru, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] clocksource: nspire: Fix compiler warning Date: Tue, 29 Apr 2014 15:17:20 +0200 Message-Id: <1398777440-12016-2-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398777440-12016-1-git-send-email-daniel.lezcano@linaro.org> References: <535FA618.6080101@linaro.org> <1398777440-12016-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/clocksource/zevio-timer.c b/drivers/clocksource/zevio-timer.c index ca81809..7ce4421 100644 --- a/drivers/clocksource/zevio-timer.c +++ b/drivers/clocksource/zevio-timer.c @@ -212,4 +212,9 @@ error_free: return ret; } -CLOCKSOURCE_OF_DECLARE(zevio_timer, "lsi,zevio-timer", zevio_timer_add); +static void __init zevio_timer_init(struct device_node *node) +{ + BUG_ON(zevio_timer_add(node)); +} + +CLOCKSOURCE_OF_DECLARE(zevio_timer, "lsi,zevio-timer", zevio_timer_init);