From: Simon Horman Date: Wed, 23 Dec 2009 08:54:50 +0000 (+1100) Subject: Staging: rt2870: rtusb_probe() should be in section __devinit X-Git-Tag: v2.6.34-rc1~10^2~1^2~249 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c33c2065fc4d424e23547b58900ded5eb4444e9d;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed