Re: [PATCH] ARM: OMAP2+: gpmc: annotate exit sections properly

2012-10-08 Thread Tony Lindgren
* Afzal Mohammed af...@ti.com [121004 01:33]: compiler complained, `gpmc_remove' referenced in section `.data' of arch/arm/mach-omap2/built-in.o: defined in discarded section `.exit.text' of arch/arm/mach-omap2/built-in.o Annotate gpmc_remove function and dependents with __devexit.

[PATCH] ARM: OMAP2+: gpmc: annotate exit sections properly

2012-10-04 Thread Afzal Mohammed
compiler complained, `gpmc_remove' referenced in section `.data' of arch/arm/mach-omap2/built-in.o: defined in discarded section `.exit.text' of arch/arm/mach-omap2/built-in.o Annotate gpmc_remove function and dependents with __devexit. Reported-by: Tony Lindgren t...@atomide.com Signed-off-by: