Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752868Ab3HQB1L (ORCPT ); Fri, 16 Aug 2013 21:27:11 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:33590 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752257Ab3HQB1I (ORCPT ); Fri, 16 Aug 2013 21:27:08 -0400 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 18:26:35 -0700 Message-Id: <1376702795-25912-1-git-send-email-jerry.snitselaar@oracle.com> X-Mailer: git-send-email 1.8.4.rc3.2.g2c2b664 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1287 Lines: 40 Without MODULE_LICENSE set, 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; -- 1.8.4.rc3.2.g2c2b664 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/