All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH 1/1] hwmon: (acpi_power_meter) Fix incorrect placement of __initdata
Date: Wed, 07 Aug 2013 10:59:18 +0000	[thread overview]
Message-ID: <52022886.2000402@roeck-us.net> (raw)
In-Reply-To: <1375868833-566-1-git-send-email-sachin.kamat@linaro.org>

On 08/07/2013 02:47 AM, Sachin Kamat wrote:
> __initdata should be placed between the variable name and equal
> sign for the variable to be placed in the intended section.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Darrick J. Wong <djwong@us.ibm.com>
> ---
>   drivers/hwmon/acpi_power_meter.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hwmon/acpi_power_meter.c b/drivers/hwmon/acpi_power_meter.c
> index 6351aba..d7d9b2f 100644
> --- a/drivers/hwmon/acpi_power_meter.c
> +++ b/drivers/hwmon/acpi_power_meter.c
> @@ -970,7 +970,7 @@ static int __init enable_cap_knobs(const struct dmi_system_id *d)
>   	return 0;
>   }
>
> -static struct dmi_system_id __initdata pm_dmi_table[] = {
> +static struct dmi_system_id pm_dmi_table[] __initdata = {
>   	{
>   		enable_cap_knobs, "IBM Active Energy Manager",
>   		{
>
Applied to -next.

Thanks,
Guenter


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  reply	other threads:[~2013-08-07 10:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-07  9:59 [lm-sensors] [PATCH 1/1] hwmon: (acpi_power_meter) Fix incorrect placement of __initdata Sachin Kamat
2013-08-07 10:59 ` Guenter Roeck [this message]
2013-08-26 20:47 ` Jean Delvare
2013-08-26 22:48 ` Guenter Roeck
2013-08-27 11:14 ` Jean Delvare
2013-08-27 11:30 ` Russell King - ARM Linux
2013-08-27 13:37 ` Guenter Roeck
2013-08-27 13:57 ` Jean Delvare
2013-08-27 14:07 ` Russell King - ARM Linux
2013-08-27 14:10 ` Russell King - ARM Linux
2013-08-27 14:13 ` Jean Delvare
2013-08-27 14:50 ` Sachin Kamat
2013-08-27 14:55 ` Sachin Kamat
2013-08-27 14:57 ` Jean Delvare
2013-08-27 14:59 ` Jean Delvare
2013-08-27 15:25 ` Guenter Roeck
2013-08-27 15:30 ` Jean Delvare
2013-08-27 15:33 ` Guenter Roeck

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=52022886.2000402@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=lm-sensors@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.