$ 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 Index: gregkh-2.6/drivers/staging/rt2860/usb_main_dev.c =================================================================== --- gregkh-2.6.orig/drivers/staging/rt2860/usb_main_dev.c 2009-12-23 18:33:00.000000000 +1100 +++ gregkh-2.6/drivers/staging/rt2860/usb_main_dev.c 2009-12-23 18:42:34.000000000 +1100 @@ -296,7 +296,7 @@ static BOOLEAN USBDevConfigInit(IN struc } -static int rtusb_probe(struct usb_interface *intf, +static int __devinit rtusb_probe(struct usb_interface *intf, const struct usb_device_id *id) { struct rt_rtmp_adapter *pAd; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/