diff options
author | Mike Lockwood <lockwood@android.com> | 2011-08-12 14:35:42 -0700 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2011-08-12 15:12:08 -0700 |
commit | 394bf63a79ccfff21989255aafff8c1279537ff7 (patch) | |
tree | 0f77888db0e9c701a4a69c1a46d4a995479e28e9 /drivers/usb/gadget/u_ether.h | |
parent | b85f29e0c534cb83191a0aebd83935225370edcd (diff) | |
download | kernel_samsung_aries-394bf63a79ccfff21989255aafff8c1279537ff7.zip kernel_samsung_aries-394bf63a79ccfff21989255aafff8c1279537ff7.tar.gz kernel_samsung_aries-394bf63a79ccfff21989255aafff8c1279537ff7.tar.bz2 |
USB: gadget: android: Use "rndis%d" for RNDIS device name instead of "usb%d"
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'drivers/usb/gadget/u_ether.h')
-rw-r--r-- | drivers/usb/gadget/u_ether.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/gadget/u_ether.h b/drivers/usb/gadget/u_ether.h index 5bb1021..64b65f9 100644 --- a/drivers/usb/gadget/u_ether.h +++ b/drivers/usb/gadget/u_ether.h @@ -86,6 +86,9 @@ struct gether { /* netdev setup/teardown as directed by the gadget driver */ int gether_setup(struct usb_gadget *g, u8 ethaddr[ETH_ALEN]); void gether_cleanup(void); +/* variant of gether_setup that allows customizing network device name */ +int gether_setup_name(struct usb_gadget *g, u8 ethaddr[ETH_ALEN], + const char *netname); /* connect/disconnect is handled by individual functions */ struct net_device *gether_connect(struct gether *); |