From patchwork Wed Jan 20 21:06:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grant Likely X-Patchwork-Id: 74133 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0KM7LmE015616 for ; Wed, 20 Jan 2010 22:07:21 GMT 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.69) (envelope-from ) id 1NXihr-0003pM-0O; Wed, 20 Jan 2010 22:07:19 +0000 Received: from sfi-mx-1.v28.ch3.sourceforge.com ([172.29.28.121] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NXihq-0003pG-3U for spi-devel-general@lists.sourceforge.net; Wed, 20 Jan 2010 22:07:18 +0000 X-ACL-Warn: Received: from mail-pw0-f43.google.com ([209.85.160.43]) by sfi-mx-1.v28.ch3.sourceforge.com with esmtp (Exim 4.69) id 1NXihp-0003ah-2p for spi-devel-general@lists.sourceforge.net; Wed, 20 Jan 2010 22:07:17 +0000 Received: by pwj11 with SMTP id 11so3856055pwj.2 for ; Wed, 20 Jan 2010 14:07:11 -0800 (PST) Received: by 10.142.210.21 with SMTP id i21mr351827wfg.56.1264021573273; Wed, 20 Jan 2010 13:06:13 -0800 (PST) Received: from angua (S01060002b3d79728.cg.shawcable.net [70.72.87.49]) by mx.google.com with ESMTPS id 22sm276661pzk.2.2010.01.20.13.06.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 13:06:12 -0800 (PST) Received: from [127.0.1.1] (unknown [IPv6:::1]) by angua (Postfix) with ESMTP id 7778C1902E; Wed, 20 Jan 2010 14:06:10 -0700 (MST) From: Grant Likely To: spi-devel-general@lists.sourceforge.net, feng.tang@intel.com Date: Wed, 20 Jan 2010 14:06:10 -0700 Message-ID: <20100120210610.22735.49214.stgit@angua> User-Agent: StGIT/0.14.2 MIME-Version: 1.0 X-Spam-Score: -0.1 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.1 AWL AWL: From: address is in the auto white-list X-Headers-End: 1NXihp-0003ah-2p Subject: [spi-devel-general] [PATCH] spi/dw_spi: fix __init/__devinit section mismatch 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: , Errors-To: spi-devel-general-bounces@lists.sourceforge.net diff --git a/drivers/spi/dw_spi.c b/drivers/spi/dw_spi.c index 1bb709b..f713af8 100644 --- a/drivers/spi/dw_spi.c +++ b/drivers/spi/dw_spi.c @@ -749,7 +749,7 @@ static void dw_spi_cleanup(struct spi_device *spi) kfree(chip); } -static int __init init_queue(struct dw_spi *dws) +static int __devinit init_queue(struct dw_spi *dws) { INIT_LIST_HEAD(&dws->queue); spin_lock_init(&dws->lock);