linux/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
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
evbug.c Input: rework handle creation code 2007-04-12 01:29:46 -04:00
evdev.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
ff-core.c Input: force feedback - make sure effect is present before playing 2007-05-03 00:51:10 -04:00
ff-memless.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
fixp-arith.h changed email 2007-10-20 00:47:32 +02:00
input-polldev.c Input: polled device power saving 2007-09-26 00:01:25 -04:00
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
mousedev.c Input: mousedev - handle mice that use absolute coordinates 2008-01-17 12:01:04 -05:00