Re: [PATCH v5 1/6] hwmon: (fam15h_power) Add CPU_SUP_AMD as the dependence

From: Borislav Petkov
Date: Mon Mar 28 2016 - 04:59:20 EST


On Mon, Mar 28, 2016 at 01:32:11PM +0800, Huang Rui wrote:
> This patch adds CONFIG_CPU_SUP_AMD as the dependence of fam15h_power
> driver. Because the following patch will use the interface from
> x86/kernel/cpu/amd.c.
>
> Otherwise, the below error might be encountered:
>
> All errors (new ones prefixed by >>):
>
> drivers/built-in.o: In function `fam15h_power_probe':
> >> fam15h_power.c:(.text+0x26e3a3): undefined reference to
> >> `amd_get_cores_per_cu'
> fam15h_power.c:(.text+0x26e41e): undefined reference to
> `amd_get_cores_per_cu'
>
> Reported-by: build test robot <lkp@xxxxxxxxx>
> Signed-off-by: Huang Rui <ray.huang@xxxxxxx>

Acked-by: Borislav Petkov <bp@xxxxxxx>

This can go in now, regardless of the rest.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.