projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eec752b
)
hwmon: (coretemp) Fix section mismatch
author
Jean Delvare
<
[email protected]
>
Thu, 26 May 2011 10:01:54 +0000
(06:01 -0400)
committer
Guenter Roeck
<
[email protected]
>
Fri, 27 May 2011 09:24:54 +0000
(
02:24
-0700)
chk_ucode_version() is only called from coretemp_probe() which is
__devinit, so it can be marked __devinit too.
Signed-off-by: Jean Delvare <
[email protected]
>
Cc: Durgadoss R <
[email protected]
>
Cc: Fenghua Yu <
[email protected]
>
Cc: Guenter Roeck <
[email protected]
>
Signed-off-by: Guenter Roeck <
[email protected]
>
drivers/hwmon/coretemp.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/coretemp.c
b/drivers/hwmon/coretemp.c
index 833d51ff43b3f399c61494dbb18c8aa772585d3b..de3d2465fe24eeabe835b9f76cc34eeb2b106d98 100644
(file)
--- a/
drivers/hwmon/coretemp.c
+++ b/
drivers/hwmon/coretemp.c
@@
-424,7
+424,7
@@
static void update_ttarget(__u8 cpu_model, struct temp_data *tdata,
}
}
-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;