Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 500c1197 authored by Ihar Hrachyshka's avatar Ihar Hrachyshka Committed by John W. Linville
Browse files

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: default avatarIhar Hrachyshka <ihar.hrachyshka@promwad.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 9a613195
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment