diff options
Diffstat (limited to 'drivers/usb/gadget/u_ether.h')
-rw-r--r-- | drivers/usb/gadget/u_ether.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/usb/gadget/u_ether.h b/drivers/usb/gadget/u_ether.h index b56e1e7d423..64b65f92168 100644 --- a/drivers/usb/gadget/u_ether.h +++ b/drivers/usb/gadget/u_ether.h | |||
@@ -86,6 +86,9 @@ struct gether { | |||
86 | /* netdev setup/teardown as directed by the gadget driver */ | 86 | /* netdev setup/teardown as directed by the gadget driver */ |
87 | int gether_setup(struct usb_gadget *g, u8 ethaddr[ETH_ALEN]); | 87 | int gether_setup(struct usb_gadget *g, u8 ethaddr[ETH_ALEN]); |
88 | void gether_cleanup(void); | 88 | void gether_cleanup(void); |
89 | /* variant of gether_setup that allows customizing network device name */ | ||
90 | int gether_setup_name(struct usb_gadget *g, u8 ethaddr[ETH_ALEN], | ||
91 | const char *netname); | ||
89 | 92 | ||
90 | /* connect/disconnect is handled by individual functions */ | 93 | /* connect/disconnect is handled by individual functions */ |
91 | struct net_device *gether_connect(struct gether *); | 94 | struct net_device *gether_connect(struct gether *); |
@@ -112,12 +115,14 @@ int eem_bind_config(struct usb_configuration *c); | |||
112 | 115 | ||
113 | #ifdef USB_ETH_RNDIS | 116 | #ifdef USB_ETH_RNDIS |
114 | 117 | ||
115 | int rndis_bind_config(struct usb_configuration *c, u8 ethaddr[ETH_ALEN]); | 118 | int rndis_bind_config(struct usb_configuration *c, u8 ethaddr[ETH_ALEN], |
119 | u32 vendorID, const char *manufacturer); | ||
116 | 120 | ||
117 | #else | 121 | #else |
118 | 122 | ||
119 | static inline int | 123 | static inline int |
120 | rndis_bind_config(struct usb_configuration *c, u8 ethaddr[ETH_ALEN]) | 124 | rndis_bind_config(struct usb_configuration *c, u8 ethaddr[ETH_ALEN], |
125 | u32 vendorID, const char *manufacturer) | ||
121 | { | 126 | { |
122 | return 0; | 127 | return 0; |
123 | } | 128 | } |