diff options
| author | Tony Lindgren <[email protected]> | 2012-03-05 23:32:38 +0000 |
|---|---|---|
| committer | Grant Likely <[email protected]> | 2012-03-12 17:44:46 +0000 |
| commit | 8805f410e4fb88a56552c1af42d61b38837a38fd (patch) | |
| tree | 3deb89add9b380d08abc9ae46a3045b791dd6474 /drivers/gpio/gpio-davinci.c | |
| parent | ARM: tegra: export tegra_gpio_{en,dis}able (diff) | |
| download | kernel-8805f410e4fb88a56552c1af42d61b38837a38fd.tar.gz kernel-8805f410e4fb88a56552c1af42d61b38837a38fd.zip | |
gpio/omap: Fix section warning for omap_mpuio_alloc_gc()
Make omap_mpuio_alloc_gc() __devinit as omap_gpio_chip_init()
is __devinit. Otherwise we get:
WARNING: vmlinux.o(.devinit.text+0xa10): Section mismatch in reference
from the function omap_gpio_chip_init() to the function .init.text:omap_mpuio_alloc_gc()
The function __devinit omap_gpio_chip_init() references
a function __init omap_mpuio_alloc_gc().
If omap_mpuio_alloc_gc is only used by omap_gpio_chip_init then
annotate omap_mpuio_alloc_gc with a matching annotation.
Signed-off-by: Tony Lindgren <[email protected]>
Acked-by: Kevin Hilman <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-davinci.c')
0 files changed, 0 insertions, 0 deletions
