From patchwork Tue Jul 27 16:39:30 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Wells X-Patchwork-Id: 114560 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6RGtdt2015598 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 27 Jul 2010 16:56:15 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1OdnRF-00026H-41; Tue, 27 Jul 2010 16:55:33 +0000 Received: from sfi-mx-2.v28.ch3.sourceforge.com ([172.29.28.122] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1OdnRD-000268-Su for spi-devel-general@lists.sourceforge.net; Tue, 27 Jul 2010 16:55:31 +0000 X-ACL-Warn: Received: from be1ssnxpe1.nxp.com ([57.67.164.69]) by sfi-mx-2.v28.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) id 1OdnRB-0003XG-4C for spi-devel-general@lists.sourceforge.net; Tue, 27 Jul 2010 16:55:30 +0000 Received: from EU1RDCRDC1VW024.exi.nxp.com ([134.27.176.169]) by be1ssnxpe1.nxp.com (8.14.3/8.14.3) with ESMTP id o6RGdX85021575 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 27 Jul 2010 18:39:33 +0200 Received: from eu1rdcrdc1wx030.exi.nxp.com ([134.27.176.239]) by EU1RDCRDC1VW024.exi.nxp.com ([134.27.176.169]) with mapi; Tue, 27 Jul 2010 18:39:33 +0200 From: Kevin Wells To: Linus Walleij , "spi-devel-general@lists.sourceforge.net" Date: Tue, 27 Jul 2010 18:39:30 +0200 Thread-Topic: amba_pl022: Fix section mismatch warnings Thread-Index: AcstqkjYcGuQZVGCQnq4e2ImHG3ssw== Message-ID: <083DF309106F364B939360100EC290F80AC392A206@eu1rdcrdc1wx030.exi.nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011, 1.0.148, 0.0.0000 definitions=2010-07-27_06:2010-07-27, 2010-07-27, 1970-01-01 signatures=0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. _SUMMARY_ X-Headers-End: 1OdnRB-0003XG-4C Subject: [spi-devel-general] amba_pl022: Fix section mismatch warnings 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 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 27 Jul 2010 16:56:15 +0000 (UTC) diff --git a/drivers/spi/amba-pl022.c b/drivers/spi/amba-pl022.c index f0a1418..acd35d1 100644 --- a/drivers/spi/amba-pl022.c +++ b/drivers/spi/amba-pl022.c @@ -1723,7 +1723,7 @@ static void pl022_cleanup(struct spi_device *spi) } -static int __init +static int __devinit pl022_probe(struct amba_device *adev, struct amba_id *id) { struct device *dev = &adev->dev; @@ -1838,7 +1838,7 @@ pl022_probe(struct amba_device *adev, struct amba_id *id) return status; } -static int __exit +static int __devexit pl022_remove(struct amba_device *adev) { struct pl022 *pl022 = amba_get_drvdata(adev); @@ -1970,7 +1970,7 @@ static struct amba_driver pl022_driver = { }, .id_table = pl022_ids, .probe = pl022_probe, - .remove = __exit_p(pl022_remove), + .remove = __devexit_p(pl022_remove), .suspend = pl022_suspend, .resume = pl022_resume, };