MTD: maps/pxa2xx_flash: fix build breakage
PATCH RESEND 1/1 MTD: maps/pxa2xx_flash: fix build breakage
LD init/built-in.o
LD .tmp_vmlinux1pxa2xx_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 <[email protected]>
--- drivers/mtd/maps/pxa2xx-flash.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/maps/pxa2xx-flash.c +1 -1
@@ -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);
Signature · 7 lines
1.5.6.4 -- Sincerely yours, Mike.
Quoted 6 lines · Mike Rapoport
LD
init/built-in.o
LD .tmp_vmlinux1pxa2xx_flash_remove' referenced in section.data' ofdrivers/built-in.o: defined in discarded section `.exit.text' ofdrivers/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.