From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753467AbcFLLRG (ORCPT ); Sun, 12 Jun 2016 07:17:06 -0400 Received: from hedera.naiandei.net ([91.240.84.8]:58216 "EHLO naiandei.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753081AbcFLLRE (ORCPT ); Sun, 12 Jun 2016 07:17:04 -0400 X-Greylist: delayed 583 seconds by postgrey-1.27 at vger.kernel.org; Sun, 12 Jun 2016 07:17:03 EDT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 12 Jun 2016 13:06:45 +0200 From: Oscar To: , , , Cc: Subject: usb: common: otg-fsm: add license to usb-otg-fsm Message-ID: User-Agent: Roundcube Webmail/0.8.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- --- 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 #include #include #include @@ -452,3 +453,4 @@ int otg_statemachine(struct otg_fsm *fsm return state_changed; } EXPORT_SYMBOL_GPL(otg_statemachine); +MODULE_LICENSE("GPL");