From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Mon, 28 Mar 2016 10:59:12 +0200 From: Borislav Petkov To: Huang Rui Cc: Guenter Roeck , Jean Delvare , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, spg_linux_kernel@amd.com Subject: Re: [PATCH v5 1/6] hwmon: (fam15h_power) Add CPU_SUP_AMD as the dependence Message-ID: <20160328085912.GA26651@pd.tnic> References: <1459143136-2412-1-git-send-email-ray.huang@amd.com> <1459143136-2412-2-git-send-email-ray.huang@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1459143136-2412-2-git-send-email-ray.huang@amd.com> List-ID: 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 > Signed-off-by: Huang Rui Acked-by: Borislav Petkov This can go in now, regardless of the rest. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.