From: Jean Delvare <khali@linux-fr.org>
To: djwong@us.ibm.com
Cc: "D. Can Celasun" <dcelasun@gmail.com>,
Huaxu Wan <huaxu.wan@intel.com>,
lm-sensors@lm-sensors.org, linux-acpi@vger.kernel.org,
lenb@kernel.org
Subject: Re: [PATCH] i2c-scmi: Provide module aliases for automatic loading
Date: Sat, 13 Feb 2010 14:59:36 +0100 [thread overview]
Message-ID: <20100213145936.4a7f7a13@hyperion.delvare> (raw)
In-Reply-To: <20100212215121.GM29569@tux1.beaverton.ibm.com>
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@us.ibm.com>
> ---
>
> 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
next prev parent reply other threads:[~2010-02-13 13:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20100210154404.45e8afd6@hyperion.delvare>
[not found] ` <d35bed621002100703s52296ad0v53fe375f777e55ee@mail.gmail.com>
[not found] ` <20100210180116.GG29604@tux1.beaverton.ibm.com>
[not found] ` <d35bed621002101007y639fd3c7k736ef53ff400f79@mail.gmail.com>
[not found] ` <20100210204057.2ca95b0d@hyperion.delvare>
[not found] ` <d35bed621002101223ida7758fp5ccbedfe25bd3148@mail.gmail.com>
[not found] ` <20100211012105.GH29604@tux1.beaverton.ibm.com>
[not found] ` <d35bed621002102333i701a212re957efb600cbda5f@mail.gmail.com>
[not found] ` <20100211091743.287030b0@hyperion.delvare>
[not found] ` <d35bed621002110842h54c8185fqf3bf481ad63df7bf@mail.gmail.com>
2010-02-12 18:52 ` [lm-sensors] Core i3 support? Darrick J. Wong
2010-02-12 19:09 ` Jean Delvare
2010-02-12 21:51 ` [PATCH] i2c-scmi: Provide module aliases for automatic loading Darrick J. Wong
2010-02-13 13:59 ` Jean Delvare [this message]
2010-02-19 21:56 ` Core i3 support? D. Can Celasun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100213145936.4a7f7a13@hyperion.delvare \
--to=khali@linux-fr.org \
--cc=dcelasun@gmail.com \
--cc=djwong@us.ibm.com \
--cc=huaxu.wan@intel.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=lm-sensors@lm-sensors.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox