diff options
author | Felipe Balbi <balbi@ti.com> | 2014-04-01 14:19:32 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-04-21 15:07:12 -0400 |
commit | 0700faaf736492bd203630d179b639a1f5bbb576 (patch) | |
tree | 4a8d9dde0bcd4ee38f412bcd4aa89b9ef06f4fe0 /drivers/usb/gadget/f_fs.c | |
parent | 5f94adfeed97a62f31a25d14effc6ac13c847333 (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.c | 6 |
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 | ||
192 | DEFINE_MUTEX(ffs_lock); | 192 | DEFINE_MUTEX(ffs_lock); |
193 | EXPORT_SYMBOL(ffs_lock); | 193 | EXPORT_SYMBOL_GPL(ffs_lock); |
194 | 194 | ||
195 | static struct ffs_dev *_ffs_find_dev(const char *name); | 195 | static struct ffs_dev *_ffs_find_dev(const char *name); |
196 | static struct ffs_dev *_ffs_alloc_dev(void); | 196 | static 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 | } |
2879 | EXPORT_SYMBOL(ffs_name_dev); | 2879 | EXPORT_SYMBOL_GPL(ffs_name_dev); |
2880 | 2880 | ||
2881 | int ffs_single_dev(struct ffs_dev *dev) | 2881 | int 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 | } |
2896 | EXPORT_SYMBOL(ffs_single_dev); | 2896 | EXPORT_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 |