aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/f_fs.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-04-01 14:19:32 -0400
committerFelipe Balbi <balbi@ti.com>2014-04-21 15:07:12 -0400
commit0700faaf736492bd203630d179b639a1f5bbb576 (patch)
tree4a8d9dde0bcd4ee38f412bcd4aa89b9ef06f4fe0 /drivers/usb/gadget/f_fs.c
parent5f94adfeed97a62f31a25d14effc6ac13c847333 (diff)
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_fs.c')
-rw-r--r--drivers/usb/gadget/f_fs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c
index 2e164dca08e8..a01b3bd8fa00 100644
--- a/drivers/usb/gadget/f_fs.c
+++ b/drivers/usb/gadget/f_fs.c
@@ -190,7 +190,7 @@ ffs_sb_create_file(struct super_block *sb, const char *name, void *data,
190/* Devices management *******************************************************/ 190/* Devices management *******************************************************/
191 191
192DEFINE_MUTEX(ffs_lock); 192DEFINE_MUTEX(ffs_lock);
193EXPORT_SYMBOL(ffs_lock); 193EXPORT_SYMBOL_GPL(ffs_lock);
194 194
195static struct ffs_dev *_ffs_find_dev(const char *name); 195static struct ffs_dev *_ffs_find_dev(const char *name);
196static struct ffs_dev *_ffs_alloc_dev(void); 196static struct ffs_dev *_ffs_alloc_dev(void);
@@ -2876,7 +2876,7 @@ int ffs_name_dev(struct ffs_dev *dev, const char *name)
2876 2876
2877 return ret; 2877 return ret;
2878} 2878}
2879EXPORT_SYMBOL(ffs_name_dev); 2879EXPORT_SYMBOL_GPL(ffs_name_dev);
2880 2880
2881int ffs_single_dev(struct ffs_dev *dev) 2881int ffs_single_dev(struct ffs_dev *dev)
2882{ 2882{
@@ -2893,7 +2893,7 @@ int ffs_single_dev(struct ffs_dev *dev)
2893 ffs_dev_unlock(); 2893 ffs_dev_unlock();
2894 return ret; 2894 return ret;
2895} 2895}
2896EXPORT_SYMBOL(ffs_single_dev); 2896EXPORT_SYMBOL_GPL(ffs_single_dev);
2897 2897
2898/* 2898/*
2899 * ffs_lock must be taken by the caller of this function 2899 * ffs_lock must be taken by the caller of this function