summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/f_rndis.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-04-01 20:19:32 +0200
committerFelipe Balbi <balbi@ti.com>2014-04-21 21:07:12 +0200
commit0700faaf736492bd203630d179b639a1f5bbb576 (patch)
tree4a8d9dde0bcd4ee38f412bcd4aa89b9ef06f4fe0 /drivers/usb/gadget/f_rndis.c
parentusb: dwc3: core: refactor mode initialization to its own function (diff)
downloadlinux-0700faaf736492bd203630d179b639a1f5bbb576.tar.xz
linux-0700faaf736492bd203630d179b639a1f5bbb576.zip
usb: gadget: only GPL drivers in the gadget and phy framework
We only support GPL drivers in the USB Gadget Framework, it sounds correct to make all exported symbols GPL too. Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/f_rndis.c')
-rw-r--r--drivers/usb/gadget/f_rndis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_rndis.c b/drivers/usb/gadget/f_rndis.c
index c11761ce5113..139bc9c6f7e0 100644
--- a/drivers/usb/gadget/f_rndis.c
+++ b/drivers/usb/gadget/f_rndis.c
@@ -834,7 +834,7 @@ void rndis_borrow_net(struct usb_function_instance *f, struct net_device *net)
opts->borrowed_net = opts->bound = true;
opts->net = net;
}
-EXPORT_SYMBOL(rndis_borrow_net);
+EXPORT_SYMBOL_GPL(rndis_borrow_net);
static inline struct f_rndis_opts *to_f_rndis_opts(struct config_item *item)
{