LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH]: change __init to __devinit for isp116x_probe
@ 2007-02-08 15:46 Prarit Bhargava
  0 siblings, 0 replies; only message in thread
From: Prarit Bhargava @ 2007-02-08 15:46 UTC (permalink / raw)
  To: linux-kernel, ok; +Cc: Prarit Bhargava

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 <prarit@redhat.com>

--- linux-2.6.19.ia64.orig/drivers/usb/host/isp116x-hcd.c	2007-02-07 09:56:37.000000000 -0500
+++ linux-2.6.19.ia64/drivers/usb/host/isp116x-hcd.c	2007-02-08 10:37:28.000000000 -0500
@@ -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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-08 15:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-08 15:46 [PATCH]: change __init to __devinit for isp116x_probe Prarit Bhargava

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).