summaryrefslogtreecommitdiff
path: root/drivers/gpio/da8xx_gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/da8xx_gpio.h')
-rw-r--r--drivers/gpio/da8xx_gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/da8xx_gpio.h b/drivers/gpio/da8xx_gpio.h
index 1de9ec7f6f..849e8d2dcf 100644
--- a/drivers/gpio/da8xx_gpio.h
+++ b/drivers/gpio/da8xx_gpio.h
@@ -28,7 +28,7 @@ struct davinci_gpio_bank {
#define MAX_NUM_GPIOS 144
#define GPIO_BIT(gp) ((gp) & 0x1F)
-#ifdef CONFIG_DM_GPIO
+#if CONFIG_IS_ENABLED(DM_GPIO)
/* Information about a GPIO bank */
struct davinci_gpio_platdata {