diff options
Diffstat (limited to 'drivers/usb/gadget/ether.c')
-rw-r--r-- | drivers/usb/gadget/ether.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index e99872308144..92b9bf78071f 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c | |||
@@ -2229,7 +2229,7 @@ eth_unbind (struct usb_gadget *gadget) | |||
2229 | set_gadget_data (gadget, NULL); | 2229 | set_gadget_data (gadget, NULL); |
2230 | } | 2230 | } |
2231 | 2231 | ||
2232 | static u8 __devinit nibble (unsigned char c) | 2232 | static u8 __init nibble (unsigned char c) |
2233 | { | 2233 | { |
2234 | if (likely (isdigit (c))) | 2234 | if (likely (isdigit (c))) |
2235 | return c - '0'; | 2235 | return c - '0'; |
@@ -2239,7 +2239,7 @@ static u8 __devinit nibble (unsigned char c) | |||
2239 | return 0; | 2239 | return 0; |
2240 | } | 2240 | } |
2241 | 2241 | ||
2242 | static int __devinit get_ether_addr(const char *str, u8 *dev_addr) | 2242 | static int __init get_ether_addr(const char *str, u8 *dev_addr) |
2243 | { | 2243 | { |
2244 | if (str) { | 2244 | if (str) { |
2245 | unsigned i; | 2245 | unsigned i; |
@@ -2260,7 +2260,7 @@ static int __devinit get_ether_addr(const char *str, u8 *dev_addr) | |||
2260 | return 1; | 2260 | return 1; |
2261 | } | 2261 | } |
2262 | 2262 | ||
2263 | static int __devinit | 2263 | static int __init |
2264 | eth_bind (struct usb_gadget *gadget) | 2264 | eth_bind (struct usb_gadget *gadget) |
2265 | { | 2265 | { |
2266 | struct eth_dev *dev; | 2266 | struct eth_dev *dev; |