gpio: fix 'CONFIG_GPIO_IRQCHIP' comments
authorPaul Bolle <pebolle@tiscali.nl>
Fri, 5 Sep 2014 11:09:25 +0000 (13:09 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 5 Sep 2014 11:54:41 +0000 (13:54 +0200)
These two typos were introduced in commit 1425052097b5 ("gpio: add IRQ
chip helpers in gpiolib").

The correct symbol name is CONFIG_GPIOLIB_IRQCHIP.

[jkosina@suse.cz: add changelog]
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/gpio/driver.h

index 573e4f3..4fcd609 100644 (file)
@@ -105,7 +105,7 @@ struct gpio_chip {
 
 #ifdef CONFIG_GPIOLIB_IRQCHIP
        /*
-        * With CONFIG_GPIO_IRQCHIP we get an irqchip inside the gpiolib
+        * With CONFIG_GPIOLIB_IRQCHIP we get an irqchip inside the gpiolib
         * to handle IRQs for most practical cases.
         */
        struct irq_chip         *irqchip;
@@ -221,7 +221,7 @@ int gpiochip_irqchip_add(struct gpio_chip *gpiochip,
                irq_flow_handler_t handler,
                unsigned int type);
 
-#endif /* CONFIG_GPIO_IRQCHIP */
+#endif /* CONFIG_GPIOLIB_IRQCHIP */
 
 #else /* CONFIG_GPIOLIB */