Messages in this thread Patch in this message | | | Date | Fri, 04 Apr 2008 19:15:58 -0700 | From | David Brownell <> | Subject | [patch 2.6.25-rc-mm] don't export gpiochip_reserve (section fix) |
| |
Fix section warning: WARNING: drivers/gpio/built-in.o(__ksymtab_gpl+0xc0): Section mismatch in reference from the variable __ksymtab_gpiochip_reserve to the function .init.text:gpiochip_reserve() The symbol gpiochip_reserve is exported and annotated __init Fix this by removing the __init annotation of gpiochip_reserve or drop the export.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> --- drivers/gpio/gpiolib.c | 1 - 1 file changed, 1 deletion(-)
--- g26.orig/drivers/gpio/gpiolib.c 2008-03-31 13:05:15.000000000 -0700 +++ g26/drivers/gpio/gpiolib.c 2008-03-31 13:05:29.000000000 -0700 @@ -150,7 +150,6 @@ err: return ret; } -EXPORT_SYMBOL_GPL(gpiochip_reserve); /** * gpiochip_add() - register a gpio_chip
| |