X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=drivers%2Fgpio%2Fgpio-generic.c;h=6c1cb3b8c02cdcc15e70d275eeaee2b1da5a13d1;hb=8f01c9d05733db0071884b4af0003f8ac10513ae;hp=54cddfa98f50b09c0d87a1f8d61031e158be23a2;hpb=e6cb3486f5a1bd55240e8326691dbfb86564f8c6;p=mirror_ubuntu-bionic-kernel.git diff --git a/drivers/gpio/gpio-generic.c b/drivers/gpio/gpio-generic.c index 54cddfa98f50..6c1cb3b8c02c 100644 --- a/drivers/gpio/gpio-generic.c +++ b/drivers/gpio/gpio-generic.c @@ -549,7 +549,7 @@ int bgpio_init(struct gpio_chip *gc, struct device *dev, } EXPORT_SYMBOL_GPL(bgpio_init); -#ifdef CONFIG_GPIO_GENERIC_PLATFORM +#if IS_ENABLED(CONFIG_GPIO_GENERIC_PLATFORM) static void __iomem *bgpio_map(struct platform_device *pdev, const char *name,