From akpm@linux-foundation.org Fri Feb 9 01:51:27 2007 From: akpm@linux-foundation.org Date: Fri, 09 Feb 2007 01:51:15 -0800 From: Prarit Bhargava Subject: USB: change __init to __devinit for isp116x_probe To: mm-commits@vger.kernel.org Cc: prarit@redhat.com, greg@kroah.com Message-ID: <200702090951.l199pF03010007@shell0.pdx.osdl.net> Change __init to __devinit for isp116x_probe. Resolves MODPOST warning: WARNING: drivers/usb/host/isp116x-hcd.o - Section mismatch: reference to .init.text:isp116x_probe from .data.rel.local between 'isp116x_driver' (at offset 0x0) and 'isp116x_hc_driver' Signed-off-by: Prarit Bhargava Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- drivers/usb/host/isp116x-hcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- gregkh-2.6.orig/drivers/usb/host/isp116x-hcd.c +++ gregkh-2.6/drivers/usb/host/isp116x-hcd.c @@ -1577,7 +1577,7 @@ static int isp116x_remove(struct platfor #define resource_len(r) (((r)->end - (r)->start) + 1) -static int __init isp116x_probe(struct platform_device *pdev) +static int __devinit isp116x_probe(struct platform_device *pdev) { struct usb_hcd *hcd; struct isp116x *isp116x;