diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:21:48 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 16:27:16 -0500 |
commit | 41ac7b3ab7fe1d6175839947a877fdf95cbd2211 (patch) | |
tree | 99cfe77797b6822424e37e365297d991e0800ab6 /drivers/usb/gadget/omap_udc.c | |
parent | 7690417db5085f0de03aa70b8ca01b0118e8a1b4 (diff) |
usb: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Cc: Li Yang <leoli@freescale.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Geoff Levand <geoff@infradead.org>
Cc: Wan ZongShun <mcuos.com@gmail.com>
Cc: Olav Kongas <ok@artecdesign.ee>
Cc: Lennert Buytenhek <kernel@wantstofly.org>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/omap_udc.c')
-rw-r--r-- | drivers/usb/gadget/omap_udc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/omap_udc.c b/drivers/usb/gadget/omap_udc.c index b5605ddfbd63..cbc07c117af0 100644 --- a/drivers/usb/gadget/omap_udc.c +++ b/drivers/usb/gadget/omap_udc.c | |||
@@ -2506,7 +2506,7 @@ static inline void remove_proc_file(void) {} | |||
2506 | * UDC_SYSCON_1.CFG_LOCK is set can now work. We won't use that | 2506 | * UDC_SYSCON_1.CFG_LOCK is set can now work. We won't use that |
2507 | * capability yet though. | 2507 | * capability yet though. |
2508 | */ | 2508 | */ |
2509 | static unsigned __devinit | 2509 | static unsigned |
2510 | omap_ep_setup(char *name, u8 addr, u8 type, | 2510 | omap_ep_setup(char *name, u8 addr, u8 type, |
2511 | unsigned buf, unsigned maxp, int dbuf) | 2511 | unsigned buf, unsigned maxp, int dbuf) |
2512 | { | 2512 | { |
@@ -2624,7 +2624,7 @@ static void omap_udc_release(struct device *dev) | |||
2624 | udc = NULL; | 2624 | udc = NULL; |
2625 | } | 2625 | } |
2626 | 2626 | ||
2627 | static int __devinit | 2627 | static int |
2628 | omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) | 2628 | omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) |
2629 | { | 2629 | { |
2630 | unsigned tmp, buf; | 2630 | unsigned tmp, buf; |
@@ -2761,7 +2761,7 @@ omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) | |||
2761 | return 0; | 2761 | return 0; |
2762 | } | 2762 | } |
2763 | 2763 | ||
2764 | static int __devinit omap_udc_probe(struct platform_device *pdev) | 2764 | static int omap_udc_probe(struct platform_device *pdev) |
2765 | { | 2765 | { |
2766 | int status = -ENODEV; | 2766 | int status = -ENODEV; |
2767 | int hmc; | 2767 | int hmc; |