From patchwork Thu May 23 08:38:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 2606271 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id 215D840077 for ; Thu, 23 May 2013 11:04:22 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UfR6X-0007AS-7Q; Thu, 23 May 2013 08:42:38 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UfR4P-0004qt-Na; Thu, 23 May 2013 08:40:21 +0000 Received: from mail-lb0-f179.google.com ([209.85.217.179]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UfR3v-0004n6-0h for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2013 08:39:53 +0000 Received: by mail-lb0-f179.google.com with SMTP id r11so3028759lbv.24 for ; Thu, 23 May 2013 01:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=g9BnA7Z1DH3+DXe3dfLjooM7GH4SjeoVibrhGDSY5P0=; b=ilwJMZf9D0Tx2hX4YsD5bIDPSlxT/bvzRy7NXgD0B+4hZ8N5e88VRqLSUqwJRHxDQ3 CcyZeYDUBI64U9DRYWpoK0mVJaAhsK5OoPmMAux2G8Cbfll5qgSKyFbHMoS/jxKIgyN7 sNOE30PYMi2kgMcr1/ukJYRXm7HtU9V7dfxtLsjLK3aneoDosjOaPYl4r8+m1MNRCi9E Q025K3e/o6upZr3ltjQgrRICskEKb3oUxIZKlxN3GHReDYb9Fls5DTsgu4AAUotTvs7D SuxfC3DR+qKCeujpC1bS6NGsNdZ4DzPq+lsHZCp6peWzYxGQF0B4a0F5+isYQd6nl8P9 2zXA== X-Received: by 10.152.5.37 with SMTP id p5mr5942763lap.13.1369298369071; Thu, 23 May 2013 01:39:29 -0700 (PDT) Received: from omicron.terra (s83-180-236-44.cust.tele2.se. [83.180.236.44]) by mx.google.com with ESMTPSA id w8sm4398712laz.0.2013.05.23.01.39.25 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 23 May 2013 01:39:26 -0700 (PDT) Received: from johan by omicron.terra with local (Exim 4.80.1) (envelope-from ) id 1UfR3R-0006Pl-1N; Thu, 23 May 2013 10:39:21 +0200 From: Johan Hovold To: Nicolas Ferre Subject: [PATCH v3 1/5] rtc-at91rm9200: add match-table compile guard Date: Thu, 23 May 2013 10:38:51 +0200 Message-Id: <1369298335-24597-2-git-send-email-jhovold@gmail.com> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1369298335-24597-1-git-send-email-jhovold@gmail.com> References: <1364983415-20298-1-git-send-email-jhovold@gmail.com> <1369298335-24597-1-git-send-email-jhovold@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130523_043951_285635_086700A7 X-CRM114-Status: GOOD ( 10.75 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.217.179 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (jhovold[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Johan Hovold , Douglas Gilbert , linux-kernel@vger.kernel.org, Ludovic Desroches , Robert Nelson , Jean-Christophe PLAGNIOL-VILLARD , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add missing match-table compile guard. Signed-off-by: Johan Hovold --- drivers/rtc/rtc-at91rm9200.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc-at91rm9200.c index 0eab77b..eeeb73f 100644 --- a/drivers/rtc/rtc-at91rm9200.c +++ b/drivers/rtc/rtc-at91rm9200.c @@ -383,11 +383,13 @@ static int at91_rtc_resume(struct device *dev) static SIMPLE_DEV_PM_OPS(at91_rtc_pm_ops, at91_rtc_suspend, at91_rtc_resume); +#ifdef CONFIG_OF static const struct of_device_id at91_rtc_dt_ids[] = { { .compatible = "atmel,at91rm9200-rtc" }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, at91_rtc_dt_ids); +#endif static struct platform_driver at91_rtc_driver = { .remove = __exit_p(at91_rtc_remove),