diff options
Diffstat (limited to 'drivers/usb/gadget/rndis.h')
-rw-r--r-- | drivers/usb/gadget/rndis.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/usb/gadget/rndis.h b/drivers/usb/gadget/rndis.h index b917b4f34ea8..aac61dfe0f03 100644 --- a/drivers/usb/gadget/rndis.h +++ b/drivers/usb/gadget/rndis.h | |||
@@ -233,20 +233,19 @@ typedef struct rndis_params | |||
233 | const u8 *host_mac; | 233 | const u8 *host_mac; |
234 | u16 *filter; | 234 | u16 *filter; |
235 | struct net_device *dev; | 235 | struct net_device *dev; |
236 | struct net_device_stats *stats; | ||
237 | 236 | ||
238 | u32 vendorID; | 237 | u32 vendorID; |
239 | const char *vendorDescr; | 238 | const char *vendorDescr; |
240 | int (*ack) (struct net_device *); | 239 | void (*resp_avail)(void *v); |
240 | void *v; | ||
241 | struct list_head resp_queue; | 241 | struct list_head resp_queue; |
242 | } rndis_params; | 242 | } rndis_params; |
243 | 243 | ||
244 | /* RNDIS Message parser and other useless functions */ | 244 | /* RNDIS Message parser and other useless functions */ |
245 | int rndis_msg_parser (u8 configNr, u8 *buf); | 245 | int rndis_msg_parser (u8 configNr, u8 *buf); |
246 | int rndis_register (int (*rndis_control_ack) (struct net_device *)); | 246 | int rndis_register(void (*resp_avail)(void *v), void *v); |
247 | void rndis_deregister (int configNr); | 247 | void rndis_deregister (int configNr); |
248 | int rndis_set_param_dev (u8 configNr, struct net_device *dev, | 248 | int rndis_set_param_dev (u8 configNr, struct net_device *dev, |
249 | struct net_device_stats *stats, | ||
250 | u16 *cdc_filter); | 249 | u16 *cdc_filter); |
251 | int rndis_set_param_vendor (u8 configNr, u32 vendorID, | 250 | int rndis_set_param_vendor (u8 configNr, u32 vendorID, |
252 | const char *vendorDescr); | 251 | const char *vendorDescr); |