]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (fam15h_power) Add CPU_SUP_AMD as the dependence
authorHuang Rui <ray.huang@amd.com>
Wed, 6 Apr 2016 07:44:10 +0000 (15:44 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 19 Apr 2016 13:32:34 +0000 (06:32 -0700)
commit9c560c7bb30d5a6ccf3d0f7dcfbf27202efe70e1
treeaf42e2d58f07091a0d74e21f96a4dc02cb74c8de
parent3eb7a48340e8f710d28da493ce858f1a53df9cde
hwmon: (fam15h_power) Add CPU_SUP_AMD as the dependence

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@intel.com>
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/Kconfig