From: Ihar Hrachyshka Date: Tue, 8 Jul 2008 22:11:59 +0000 (+0300) Subject: rtl8187: Fixed section mismatch in rtl8187_dev.c X-Git-Tag: v2.6.27-rc1~969^2~159^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=500c11973233437cbfd298b9d41ba942550aec76;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed