diff options
author | Jean Delvare <[email protected]> | 2011-05-26 06:01:54 -0400 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2011-05-27 02:24:54 -0700 |
commit | 582e1b270f6db93007f9af86d4f28fdad3da0505 (patch) | |
tree | 3328607f175a014556f486ead4c2ded414d02ef0 | |
parent | eec752b2b99c794766926a9bac59b0d7df5b09c2 (diff) |
hwmon: (coretemp) Fix section mismatch
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]>
-rw-r--r-- | drivers/hwmon/coretemp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c index 833d51ff43b3..de3d2465fe24 100644 --- 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; |