]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8187: Fixed section mismatch in rtl8187_dev.c
authorIhar Hrachyshka <ihar.hrachyshka@promwad.com>
Tue, 8 Jul 2008 22:11:59 +0000 (01:11 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jul 2008 18:30:06 +0000 (14:30 -0400)
commit0fe22598c63329969249cc476f5640a89715839f
tree208e249dce636bbcfa34316532ea3c497096efe5
parent0a9f481c7307a820452d0023c54a5da65fb4b5f8
rtl8187: Fixed section mismatch in rtl8187_dev.c

When CONFIG_HOTPLUG=n the following error occures on vmlinux linkage:

`.exit.text' referenced in section `.data' of drivers/built-in.o:
defined in discarded section `.exit.text' of drivers/built-in.o

'rtl8187_disconnect' function marked as __devexit isn't compiled with no
hotplug support. Added __devexit_p macros to fix the problem.

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@promwad.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl8187_dev.c