android_kernel_xiaomi_sm8350/drivers/input
Sam Ravnborg 2ad913babd [SPARC64]: Fix section error in sparcspkr
With a sparc64 defconfig modified to set CONFIG_HOTPLUG=n
the following error happened during link of vmlinux:

local symbol 0: discarded in section `.devexit.text' from drivers/built-in.o
local symbol 1: discarded in section `.devexit.text' from drivers/built-in.o

(The error message above is from kbuild.git but it happens in mainline too)

The error happens becase there is a reference from .text/.data to a
function marked __devexit. With CONFIG_HOTPLUG=n all code marked
__devexit are discarded and the linker complains.

It was tracked down to sparcspkr.c which were missing __devexit_p()
around the function pointers.

Unfortunately modpost did not catch this since modpost do not warn
about references from .data to .devexit from variables named *_driver.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-21 22:34:31 -08:00
..
gameport gameport: don't export functions that are static inline 2008-01-03 10:46:03 -05:00
joystick Input: xpad - add more USB IDs 2007-10-27 23:42:13 -04:00
keyboard Input: improve Kconfig help entries for HP Jornada devices 2008-01-14 00:54:23 -05:00
misc [SPARC64]: Fix section error in sparcspkr 2008-01-21 22:34:31 -08:00
mouse Input: ALPS - fix sync loss on Acer Aspire 5720ZG 2008-01-17 12:01:58 -05:00
serio Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2007-11-27 14:20:35 -08:00
tablet get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
touchscreen Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2008-01-17 15:50:19 -08:00
evbug.c
evdev.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
ff-core.c
ff-memless.c
fixp-arith.h changed email 2007-10-20 00:47:32 +02:00
input-polldev.c
input.c Input: pass EV_PWR events to event handlers 2008-01-03 10:46:21 -05:00
joydev.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
Kconfig Input: remove tsdev interface 2007-10-13 00:38:52 -04:00
Makefile Input: remove tsdev interface 2007-10-13 00:38:52 -04:00
mousedev.c Input: mousedev - handle mice that use absolute coordinates 2008-01-17 12:01:04 -05:00