]> 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 6a615d1498e3f03994b0f0735bf4d67d74b802d3..ae08531f1ed22d7fd3b5dee5a878f70efcdb7281 100644 (file)
@@ -109,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;
@@ -455,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.02646 seconds and 4 git commands to generate.