]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: rt2870: rtusb_probe() should be in section __devinit
authorSimon Horman <horms@verge.net.au>
Wed, 23 Dec 2009 08:54:50 +0000 (19:54 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:37 +0000 (16:42 -0800)
commit199fbe3f62eed35a72d0662b62b76ff47c848d77
tree66effc3dcd252373926f95093534b4f515481adf
parentc0c1d5da32b069fd1034142ffcebb57a2ae5bdca
Staging: rt2870: rtusb_probe() should be in section __devinit

$ make CONFIG_DEBUG_SECTION_MISMATCH=y
WARNING: drivers/staging/rt2870/rt2870sta.o(.text+0x2f4c5): Section
mismatch in reference from the function rtusb_probe() to the function .devinit.text:rt2870_probe()
The function rtusb_probe() references
the function __devinit rt2870_probe().
This is often because rtusb_probe lacks a __devinit
annotation or the annotation of rt2870_probe is wrong.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt2860/usb_main_dev.c