All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND] MTD: maps/pxa2xx_flash: fix build breakage
@ 2009-03-31 11:42 Mike Rapoport
  2009-03-31 18:45 ` Russell King - ARM Linux
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Rapoport @ 2009-03-31 11:42 UTC (permalink / raw)
  To: linux-mtd; +Cc: nico, ARM Linux

  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.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH RESEND] MTD: maps/pxa2xx_flash: fix build breakage
  2009-03-31 11:42 [PATCH RESEND] MTD: maps/pxa2xx_flash: fix build breakage Mike Rapoport
@ 2009-03-31 18:45 ` Russell King - ARM Linux
  0 siblings, 0 replies; 2+ messages in thread
From: Russell King - ARM Linux @ 2009-03-31 18:45 UTC (permalink / raw)
  To: Mike Rapoport; +Cc: nico, linux-mtd, ARM Linux

On Tue, Mar 31, 2009 at 02:42:52PM +0300, Mike Rapoport wrote:
>   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

I've sent a whole raft of these to the cause of these several days ago
to lkml and the cause of this breakage... waiting for it to hit Linus'
tree.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-31 18:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-31 11:42 [PATCH RESEND] MTD: maps/pxa2xx_flash: fix build breakage Mike Rapoport
2009-03-31 18:45 ` Russell King - ARM Linux

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.