mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Oscar <oscar@naiandei.net>
To: <Peter.Chen@nxp.com>, <gregkh@linuxfoundation.org>,
	<linux-usb@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Cc: <stable@vger.kernel.org>
Subject: usb: common: otg-fsm: add license to usb-otg-fsm
Date: Sun, 12 Jun 2016 13:06:45 +0200	[thread overview]
Message-ID: <a70b56a09a240c3611c6ba24b70c875a@naiandei.net> (raw)

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 hangs. Tested with a udoo quad board.

Signed-off-by: Oscar Curero <oscar@naiandei.net>
---

--- a/drivers/usb/common/usb-otg-fsm.c.orig     2016-06-12 
12:02:09.269814317 +0200
+++ b/drivers/usb/common/usb-otg-fsm.c  2016-06-12 12:01:54.473000410 
+0200
@@ -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>
@@ -452,3 +453,4 @@ int otg_statemachine(struct otg_fsm *fsm
         return state_changed;
  }
  EXPORT_SYMBOL_GPL(otg_statemachine);
+MODULE_LICENSE("GPL");

             reply	other threads:[~2016-06-12 11:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-12 11:06 Oscar [this message]
2016-06-13  7:52 ` Peter Chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a70b56a09a240c3611c6ba24b70c875a@naiandei.net \
    --to=oscar@naiandei.net \
    --cc=Peter.Chen@nxp.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®