diff options
Diffstat (limited to 'drivers/gpio/gpio-tps65910.c')
| -rw-r--r-- | drivers/gpio/gpio-tps65910.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-tps65910.c b/drivers/gpio/gpio-tps65910.c index 06146219d9d..d64de51db97 100644 --- a/drivers/gpio/gpio-tps65910.c +++ b/drivers/gpio/gpio-tps65910.c @@ -82,7 +82,7 @@ static int tps65910_gpio_input(struct gpio_chip *gc, unsigned offset)  						GPIO_CFG_MASK);  } -#ifdef CONFIG_OF +#if 0 /* #ifdef CONFIG_OF - olio: We DO have a DT, but no tps info there. */  static struct tps65910_board *tps65910_parse_dt_for_gpio(struct device *dev,  		struct tps65910 *tps65910, int chip_ngpio)  { @@ -149,7 +149,7 @@ static int tps65910_gpio_probe(struct platform_device *pdev)  	tps65910_gpio->gpio_chip.set	= tps65910_gpio_set;  	tps65910_gpio->gpio_chip.get	= tps65910_gpio_get;  	tps65910_gpio->gpio_chip.dev = &pdev->dev; -#ifdef CONFIG_OF_GPIO +#if 0 /* #ifdef CONFIG_OF_GPIO */  	tps65910_gpio->gpio_chip.of_node = tps65910->dev->of_node;  #endif  	if (pdata && pdata->gpio_base)  |