i2c-scmi: Provide module aliases for automatic loading
authorDarrick J. Wong <djwong@us.ibm.com>
Wed, 24 Mar 2010 13:38:39 +0000 (14:38 +0100)
committerJean Delvare <khali@linux-fr.org>
Wed, 24 Mar 2010 13:38:39 +0000 (14:38 +0100)
Provide module aliases for automatic loading.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-scmi.c

index 4c9fb4c..388cbdc 100644 (file)
@@ -54,6 +54,7 @@ static const struct acpi_device_id acpi_smbus_cmi_ids[] = {
        {ACPI_SMBUS_IBM_HID, (kernel_ulong_t)&ibm_smbus_methods},
        {"", 0}
 };
+MODULE_DEVICE_TABLE(acpi, acpi_smbus_cmi_ids);
 
 #define ACPI_SMBUS_STATUS_OK                   0x00
 #define ACPI_SMBUS_STATUS_FAIL                 0x07