Commit 67799eb4 authored by Oscar's avatar Oscar Committed by Greg Kroah-Hartman

usb: common: otg-fsm: add license to usb-otg-fsm

commit ea1d39a3 upstream.

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.
Signed-off-by: default avatarOscar <oscar@naiandei.net>
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7577b854
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
* 675 Mass Ave, Cambridge, MA 02139, USA. * 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
#include <linux/module.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/mutex.h> #include <linux/mutex.h>
...@@ -365,3 +366,4 @@ int otg_statemachine(struct otg_fsm *fsm) ...@@ -365,3 +366,4 @@ int otg_statemachine(struct otg_fsm *fsm)
return state_changed; return state_changed;
} }
EXPORT_SYMBOL_GPL(otg_statemachine); EXPORT_SYMBOL_GPL(otg_statemachine);
MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment