From: Prarit Bhargava <prarit@redhat.com>
To: linux-kernel@vger.kernel.org, ok@artecdesign.ee
Cc: Prarit Bhargava <prarit@redhat.com>
Subject: [PATCH]: change __init to __devinit for isp116x_probe
Date: Thu, 8 Feb 2007 10:46:03 -0500 [thread overview]
Message-ID: <20070208154603.17387.16239.sendpatchset@prarit.boston.redhat.com> (raw)
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;
reply other threads:[~2007-02-08 15:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070208154603.17387.16239.sendpatchset@prarit.boston.redhat.com \
--to=prarit@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ok@artecdesign.ee \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox