From 15db8dc87c56771f7fe5a4821066eccd67ed5c9e Mon Sep 17 00:00:00 2001 From: Ye Li Date: Thu, 25 Apr 2019 18:56:55 -0700 Subject: [PATCH] MLK-21848-6 spi: fsl_fspi: Check CONFIG_SPL_CLK when using clk driver in SPL Should use CONFIG_IS_ENABLED not IS_ENABLED for CLK driver, so it will check the CONFIG_SPL_CLK when building SPL Signed-off-by: Ye Li --- drivers/spi/fsl_fspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/fsl_fspi.c b/drivers/spi/fsl_fspi.c index 260f73ca11..33b9ed8d0a 100644 --- a/drivers/spi/fsl_fspi.c +++ b/drivers/spi/fsl_fspi.c @@ -1213,7 +1213,7 @@ static int fsl_fspi_probe(struct udevice *bus) struct fsl_fspi_priv *priv = dev_get_priv(bus); struct dm_spi_bus *dm_spi_bus; - if (IS_ENABLED(CONFIG_CLK)) { + if (CONFIG_IS_ENABLED(CLK)) { /* Assigned clock already set clock */ struct clk fspi_clk; int ret; -- 2.17.1