linux_dsm_epyc7002/drivers/input/misc
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
..
ati_remote2.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
ati_remote.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
atlas_btns.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
cobalt_btns.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
hp_sdc_rtc.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
ixp4xx-beeper.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
Kconfig typo fixes 2007-10-20 01:34:40 +02:00
keyspan_remote.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
m68kspkr.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
Makefile Input: move input-polldev to drivers/input 2007-06-13 01:49:58 -04:00
map_to_7segment.h Input: move USB miscellaneous devices under drivers/input/misc 2007-05-08 01:41:29 -04:00
pcspkr.c Use i8253.c lock for PC speaker on MIPS, too. 2007-11-02 19:39:18 -07:00
powermate.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
sparcspkr.c [SPARC64]: Fix section error in sparcspkr 2008-01-21 22:34:31 -08:00
uinput.c Input: pull input.h into uinpit.h 2007-05-03 00:55:34 -04:00
wistron_btns.c drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
yealink.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
yealink.h Input: move USB miscellaneous devices under drivers/input/misc 2007-05-08 01:41:29 -04:00