From patchwork Tue Apr 23 16:30:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2478841 Return-Path: X-Original-To: patchwork-spi-devel-general@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by patchwork2.kernel.org (Postfix) with ESMTP id 5C2E0DF2E5 for ; Tue, 23 Apr 2013 16:32:08 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1UUg8U-0002CQ-2p; Tue, 23 Apr 2013 16:32:06 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1UUg8S-0002CJ-VE for spi-devel-general@lists.sourceforge.net; Tue, 23 Apr 2013 16:32:04 +0000 X-ACL-Warn: Received: from moutng.kundenserver.de ([212.227.126.171]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1UUg8P-0003e9-PR for spi-devel-general@lists.sourceforge.net; Tue, 23 Apr 2013 16:32:04 +0000 Received: from wuerfel.lan (HSI-KBW-095-208-002-043.hsi5.kabel-badenwuerttemberg.de [95.208.2.43]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MaG3Y-1UFMAo2yYi-00KAjD; Tue, 23 Apr 2013 18:31:51 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 09/21] spi/sirf: fix MODULE_DEVICE_TABLE Date: Tue, 23 Apr 2013 18:30:41 +0200 Message-Id: <1366734653-488286-10-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1366734653-488286-1-git-send-email-arnd@arndb.de> References: <1366734653-488286-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:xgxhGcysIoh+6clnktDUTuxzNW80PgHGX6IcpL6AFbo pflsubp+eorY4Hxlr8qhf4VamXsQ5fRpbol/C/k5c4mpQEOOoj 9KsLXD92gNUbR+ftQwWUacvuZJO6Ya1Tz0Kj3aIDgCSErD9/5X KRN2MAJNd341Has0swGWUWG1NlFasCMX+qfJmMNVNHAjmya/MQ MPfiSUZUyfp5ektxaWEJuq2AL11hbp2bN+czSGhN0/xOvR2lB6 y+AdlMntoIgWVzFeALgGlvvow8i1gwwaeA8kgNDgRV2LfozCrF 0ABhoXBl2ChRoXdAEIwZEHRH7tHyFZU17TTki/X7HeGaqjU5As gMxQ5svwzF2xN0pHIz8cT0GJz/zdNOSw6CooSj9W7 X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.171 listed in list.dnswl.org] X-Headers-End: 1UUg8P-0003e9-PR Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, Mark Brown , Barry Song , spi-devel-general@lists.sourceforge.net X-BeenThere: spi-devel-general@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux SPI core/device drivers discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: spi-devel-general-bounces@lists.sourceforge.net This fixes building the spi-sirf driver as a loadable module, which uses an incorrect MODULE_DEVICE_TABLE, by changing the reference to the correct symbol. Signed-off-by: Arnd Bergmann Cc: Grant Likely Cc: Mark Brown Cc: spi-devel-general@lists.sourceforge.net Cc: Barry Song --- drivers/spi/spi-sirf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-sirf.c b/drivers/spi/spi-sirf.c index f59d417..0808cd5 100644 --- a/drivers/spi/spi-sirf.c +++ b/drivers/spi/spi-sirf.c @@ -660,7 +660,7 @@ static const struct of_device_id spi_sirfsoc_of_match[] = { { .compatible = "sirf,marco-spi", }, {} }; -MODULE_DEVICE_TABLE(of, sirfsoc_spi_of_match); +MODULE_DEVICE_TABLE(of, spi_sirfsoc_of_match); static struct platform_driver spi_sirfsoc_driver = { .driver = {