diff options
author | Oscar <oscar@naiandei.net> | 2016-06-14 08:14:35 +0200 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2016-06-14 08:22:11 +0200 |
commit | ea1d39a31d3b1b6060b6e83e5a29c069a124c68a (patch) | |
tree | 310fd8ec422aafed235f4871b0d301c4c2da367e /drivers/usb/common | |
parent | Merge tag 'phy-for-4.7-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/k... (diff) | |
download | linux-ea1d39a31d3b1b6060b6e83e5a29c069a124c68a.tar.xz linux-ea1d39a31d3b1b6060b6e83e5a29c069a124c68a.zip |
usb: common: otg-fsm: add license to usb-otg-fsm
Fix warning about tainted kernel because usb-otg-fsm has no license.
WARNING: with this patch usb-otg-fsm module can be loaded
but then the kernel will hang. Tested with a udoo quad board.
Cc: <stable@vger.kernel.org> #v4.1+
Signed-off-by: Oscar <oscar@naiandei.net>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers/usb/common')
-rw-r--r-- | drivers/usb/common/usb-otg-fsm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/common/usb-otg-fsm.c b/drivers/usb/common/usb-otg-fsm.c index 9059b7dc185e..2f537bbdda09 100644 --- a/drivers/usb/common/usb-otg-fsm.c +++ b/drivers/usb/common/usb-otg-fsm.c @@ -21,6 +21,7 @@ * 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <linux/module.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/mutex.h> @@ -450,3 +451,4 @@ int otg_statemachine(struct otg_fsm *fsm) return fsm->state_changed; } EXPORT_SYMBOL_GPL(otg_statemachine); +MODULE_LICENSE("GPL"); |