Skip to content

Commit

Permalink
USB: change __init to __devinit for isp116x_probe
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Prarit Bhargava authored and Greg Kroah-Hartman committed Feb 16, 2007
1 parent 48fda45 commit 5bcd70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/host/isp116x-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ static int isp116x_remove(struct platform_device *pdev)

#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;
Expand Down

0 comments on commit 5bcd70e

Please sign in to comment.