* [lm-sensors] [PATCH] hwmon: (coretemp) Fix section mismatch
@ 2011-05-26 10:01 Jean Delvare
2011-05-26 13:40 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2011-05-26 10:01 UTC (permalink / raw)
To: lm-sensors
chk_ucode_version() is only called from coretemp_probe() which is
__devinit, so it can be marked __devinit too.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Durgadoss R <durgadoss.r@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
---
drivers/hwmon/coretemp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.40-rc0.orig/drivers/hwmon/coretemp.c 2011-05-26 10:06:59.000000000 +0200
+++ linux-2.6.40-rc0/drivers/hwmon/coretemp.c 2011-05-26 10:29:58.000000000 +0200
@@ -422,7 +422,7 @@ static void update_ttarget(__u8 cpu_mode
}
}
-static int chk_ucode_version(struct platform_device *pdev)
+static int __devinit chk_ucode_version(struct platform_device *pdev)
{
struct cpuinfo_x86 *c = &cpu_data(pdev->id);
int err;
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [lm-sensors] [PATCH] hwmon: (coretemp) Fix section mismatch
2011-05-26 10:01 [lm-sensors] [PATCH] hwmon: (coretemp) Fix section mismatch Jean Delvare
@ 2011-05-26 13:40 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2011-05-26 13:40 UTC (permalink / raw)
To: lm-sensors
On Thu, May 26, 2011 at 06:01:54AM -0400, Jean Delvare wrote:
> chk_ucode_version() is only called from coretemp_probe() which is
> __devinit, so it can be marked __devinit too.
>
> Signed-off-by: Jean Delvare <khali@linux-fr.org>
> Cc: Durgadoss R <durgadoss.r@intel.com>
> Cc: Fenghua Yu <fenghua.yu@intel.com>
> Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Applied, thanks.
Guenter
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-26 13:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-26 10:01 [lm-sensors] [PATCH] hwmon: (coretemp) Fix section mismatch Jean Delvare
2011-05-26 13:40 ` Guenter Roeck
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.