Merge branch 'work.splice_read' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git] / arch / arm / mach-omap1 / board-nokia770.c
index dd3a3ad..ee8d9f5 100644 (file)
@@ -159,7 +159,7 @@ static struct omap_usb_config nokia770_usb_config __initdata = {
        .extcon         = "tahvo-usb",
 };
 
-#if defined(CONFIG_MMC_OMAP) || defined(CONFIG_MMC_OMAP_MODULE)
+#if IS_ENABLED(CONFIG_MMC_OMAP)
 
 #define NOKIA770_GPIO_MMC_POWER                41
 #define NOKIA770_GPIO_MMC_SWITCH       23
@@ -216,7 +216,7 @@ static inline void nokia770_mmc_init(void)
 }
 #endif
 
-#if defined(CONFIG_I2C_CBUS_GPIO) || defined(CONFIG_I2C_CBUS_GPIO_MODULE)
+#if IS_ENABLED(CONFIG_I2C_CBUS_GPIO)
 static struct i2c_cbus_platform_data nokia770_cbus_data = {
        .clk_gpio = OMAP_MPUIO(9),
        .dat_gpio = OMAP_MPUIO(10),