]> Git Repo - u-boot.git/blobdiff - drivers/spi/omap3_spi.c
drivers: rename drivers to match compatible string
[u-boot.git] / drivers / spi / omap3_spi.c
index ff4c700645c3c81b3dbb9a4d482f4cc62bbf2712..ae08531f1ed22d7fd3b5dee5a878f70efcdb7281 100644 (file)
@@ -21,6 +21,7 @@
 #include <spi.h>
 #include <malloc.h>
 #include <asm/io.h>
+#include <linux/bitops.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -108,7 +109,7 @@ struct mcspi {
 };
 
 struct omap3_spi_priv {
-#ifndef CONFIG_DM_SPI
+#if !CONFIG_IS_ENABLED(DM_SPI)
        struct spi_slave slave;
 #endif
        struct mcspi *regs;
@@ -454,7 +455,7 @@ static void _omap3_spi_claim_bus(struct omap3_spi_priv *priv)
        writel(conf, &priv->regs->modulctrl);
 }
 
-#ifndef CONFIG_DM_SPI
+#if !CONFIG_IS_ENABLED(DM_SPI)
 
 static inline struct omap3_spi_priv *to_omap3_spi(struct spi_slave *slave)
 {
This page took 0.027279 seconds and 4 git commands to generate.