Re: [PATCH] i2c-scmi: Provide module aliases for automatic loading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 12 Feb 2010 13:51:21 -0800, Darrick J. Wong wrote:
> Ok, here's a quick patch to provide the module aliases.  Lightly tested, and
> requires the patch that defines ACPI_SMBUS_IBM_HID.
> ---
> i2c-scmi: Provide module aliases for automatic loading
> 
> Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx>
> ---
> 
>  drivers/i2c/busses/i2c-scmi.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> 
> diff --git a/drivers/i2c/busses/i2c-scmi.c b/drivers/i2c/busses/i2c-scmi.c
> index 4c9fb4c..388cbdc 100644
> --- a/drivers/i2c/busses/i2c-scmi.c
> +++ b/drivers/i2c/busses/i2c-scmi.c
> @@ -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

Applied, thanks.

-- 
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux