From: Mike Rapoport <mike@compulab.co.il>
To: linux-mtd <linux-mtd@lists.infradead.org>
Cc: nico@cam.org, ARM Linux <linux-arm-kernel@lists.arm.linux.org.uk>
Subject: [PATCH RESEND] MTD: maps/pxa2xx_flash: fix build breakage
Date: Tue, 31 Mar 2009 14:42:52 +0300 [thread overview]
Message-ID: <49D201BC.3050404@compulab.co.il> (raw)
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 <mike@compulab.co.il>
---
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.
next reply other threads:[~2009-03-31 11:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-31 11:42 Mike Rapoport [this message]
2009-03-31 18:45 ` [PATCH RESEND] MTD: maps/pxa2xx_flash: fix build breakage Russell King - ARM Linux
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49D201BC.3050404@compulab.co.il \
--to=mike@compulab.co.il \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-mtd@lists.infradead.org \
--cc=nico@cam.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.