mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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]>
This commit is contained in:
parent
eec752b2b9
commit
582e1b270f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue