]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: gpmc: annotate exit sections properly
authorAfzal Mohammed <afzal@ti.com>
Thu, 4 Oct 2012 08:31:57 +0000 (14:01 +0530)
committerTony Lindgren <tony@atomide.com>
Mon, 8 Oct 2012 22:43:57 +0000 (15:43 -0700)
commitad96185e8a1eee7ef18a322a496e89771283baa5
tree305e266bbfd822415138339204bd3202f95589bb
parent612bfb61b9f9ff4d05d0b728fb5176ededa19f20
ARM: OMAP2+: gpmc: annotate exit sections properly

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 <tony@atomide.com>
Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpmc.c