[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YQBPR0101MB1811EF89914E845264FA4DE8D8029@YQBPR0101MB1811.CANPRD01.PROD.OUTLOOK.COM>
Date: Tue, 29 Jun 2021 15:01:17 +0000
From: Liam Beguin <lvb@...hos.com>
To: Stephen Boyd <sboyd@...nel.org>,
Michael Turquette <mturquette@...libre.com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-clk@...r.kernel.org" <linux-clk@...r.kernel.org>,
kernel test robot <lkp@...el.com>,
"liambeguin@...il.com" <liambeguin@...il.com>
Subject: RE: [PATCH 1/2] clk: lmk04832: Depend on SPI
> -----Original Message-----
> From: Stephen Boyd <sboyd@...nel.org>
> Sent: June 29, 2021 2:08 AM
> To: Michael Turquette <mturquette@...libre.com>; Stephen Boyd
> <sboyd@...nel.org>
> Cc: linux-kernel@...r.kernel.org; linux-clk@...r.kernel.org; kernel test
> robot <lkp@...el.com>; Liam Beguin <lvb@...hos.com>
> Subject: [PATCH 1/2] clk: lmk04832: Depend on SPI
>
> This driver depends on SPI. Otherwise compilation fails
>
> clk-lmk04832.c:(.text+0x1668): undefined reference to `spi_get_device_id'
>
> Reported-by: kernel test robot <lkp@...el.com>
> Cc: Liam Beguin <lvb@...hos.com>
> Fixes: 3bc61cfd6f4a ("clk: add support for the lmk04832")
> Signed-off-by: Stephen Boyd <sboyd@...nel.org>
Reviewed-by: Liam Beguin <lvb@...hos.com>
> ---
> drivers/clk/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
> index ccf77849bdbd..d49cf3ae52aa 100644
> --- a/drivers/clk/Kconfig
> +++ b/drivers/clk/Kconfig
> @@ -57,6 +57,7 @@ config CLK_HSDK
>
> config LMK04832
> tristate "Ti LMK04832 JESD204B Compliant Clock Jitter Cleaner"
> + depends on SPI
> select REGMAP_SPI
> help
> Say yes here to build support for Texas Instruments' LMK04832
> Ultra
> --
> https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/
> https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git
Powered by blists - more mailing lists