From patchwork Fri Aug 16 21:40:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerry Snitselaar X-Patchwork-Id: 2845966 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9B655BF546 for ; Sat, 17 Aug 2013 03:49:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7509D20255 for ; Sat, 17 Aug 2013 03:49:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7E8E020233 for ; Sat, 17 Aug 2013 03:49:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751372Ab3HQDtp (ORCPT ); Fri, 16 Aug 2013 23:49:45 -0400 Received: from userp1050.oracle.com ([156.151.31.82]:37160 "EHLO userp1050.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751199Ab3HQDtp (ORCPT ); Fri, 16 Aug 2013 23:49:45 -0400 X-Greylist: delayed 5348 seconds by postgrey-1.27 at vger.kernel.org; Fri, 16 Aug 2013 23:49:44 EDT Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) by userp1050.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r7GLhRH4014585 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 16 Aug 2013 21:43:27 GMT Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r7GLf8QB022811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 16 Aug 2013 21:41:09 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r7GLf23Q022878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 16 Aug 2013 21:41:04 GMT Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r7GLf2NM019895; Fri, 16 Aug 2013 21:41:02 GMT Received: from cantor.us.oracle.com (/10.159.73.184) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 16 Aug 2013 14:41:02 -0700 From: Jerry Snitselaar To: linux-kernel@vger.kernel.org Cc: linux-acpi@vger.kernel.org, mika.westerberg@linux.intel.com, rjw@sisk.pl Subject: [PATCH] acpi_i2c: set MODULE_LICENSE, MODULE_AUTHOR, and MODULE_DESCRIPTION Date: Fri, 16 Aug 2013 14:40:51 -0700 Message-Id: <1376689251-18511-1-git-send-email-jerry.snitselaar@oracle.com> X-Mailer: git-send-email 1.8.4.rc3.2.g2c2b664 X-Source-IP: userp1040.oracle.com [156.151.31.81] Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Without MODULE_LICENSE get, I get the following with modprobe: acpi_i2c: module license 'unspecified' taints kernel. acpi_i2c: Unknown symbol i2c_new_device (err 0) acpi_i2c: Unknown symbol acpi_dev_get_resources (err 0) acpi_i2c: Unknown symbol acpi_dev_resource_interrupt (err 0) acpi_i2c: Unknown symbol acpi_dev_free_resource_list (err 0) Signed-off-by: Jerry Snitselaar --- drivers/acpi/acpi_i2c.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/acpi/acpi_i2c.c b/drivers/acpi/acpi_i2c.c index 82045e3..2c5c65d 100644 --- a/drivers/acpi/acpi_i2c.c +++ b/drivers/acpi/acpi_i2c.c @@ -14,9 +14,14 @@ #include #include #include +#include ACPI_MODULE_NAME("i2c"); +MODULE_DESCRIPTION("ACPI I2C enumeration support"); +MODULE_AUTHOR("Mika Westerberg"); +MODULE_LICENSE("GPL"); + static int acpi_i2c_add_resource(struct acpi_resource *ares, void *data) { struct i2c_board_info *info = data;