Skip to content

Commit

Permalink
gpio: fix 'CONFIG_GPIO_IRQCHIP' comments
Browse files Browse the repository at this point in the history
These two typos were introduced in commit 1425052 ("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>
  • Loading branch information
Paul Bolle authored and Jiri Kosina committed Sep 5, 2014
1 parent 83ee73c commit 7d75a87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/gpio/driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 */

Expand Down

0 comments on commit 7d75a87

Please sign in to comment.