Commit 582e1b270f6db93007f9af86d4f28fdad3da0505

Authored by Jean Delvare
Committed by Guenter Roeck
1 parent eec752b2b9

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 <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>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/hwmon/coretemp.c
... ... @@ -424,7 +424,7 @@
424 424 }
425 425 }
426 426  
427   -static int chk_ucode_version(struct platform_device *pdev)
  427 +static int __devinit chk_ucode_version(struct platform_device *pdev)
428 428 {
429 429 struct cpuinfo_x86 *c = &cpu_data(pdev->id);
430 430 int err;