From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cathcart.site5.com ([74.54.107.137]) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1LocND-0002sx-5h for linux-mtd@lists.infradead.org; Tue, 31 Mar 2009 11:43:25 +0000 Message-ID: <49D201BC.3050404@compulab.co.il> Date: Tue, 31 Mar 2009 14:42:52 +0300 From: Mike Rapoport MIME-Version: 1.0 To: linux-mtd Subject: [PATCH RESEND] MTD: maps/pxa2xx_flash: fix build breakage Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: nico@cam.org, ARM Linux List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , LD init/built-in.o LD .tmp_vmlinux1 `pxa2xx_flash_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o make: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Mike Rapoport --- drivers/mtd/maps/pxa2xx-flash.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/maps/pxa2xx-flash.c b/drivers/mtd/maps/pxa2xx-flash.c index e9026cb..572d32f 100644 --- a/drivers/mtd/maps/pxa2xx-flash.c +++ b/drivers/mtd/maps/pxa2xx-flash.c @@ -117,7 +117,7 @@ static int __init pxa2xx_flash_probe(struct platform_device *pdev) return 0; } -static int __exit pxa2xx_flash_remove(struct platform_device *dev) +static int __devexit pxa2xx_flash_remove(struct platform_device *dev) { struct pxa2xx_flash_info *info = platform_get_drvdata(dev); -- 1.5.6.4 -- Sincerely yours, Mike.