Skip to content

Commit

Permalink
of_gpio: Should use new <linux/gpio.h> header
Browse files Browse the repository at this point in the history
Since commit 7560fa6 (gpio: <linux/gpio.h>
and "no GPIO support here" stubs) drivers can use GPIOs if they're available,
but don't require them.

This patch actually enables this feature.

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Wolfgang Grandegger authored and Benjamin Herrenschmidt committed Jul 22, 2008
1 parent ac8a101 commit 18ad7a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/of_gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define __LINUX_OF_GPIO_H

#include <linux/errno.h>
#include <asm/gpio.h>
#include <linux/gpio.h>

#ifdef CONFIG_OF_GPIO

Expand Down

0 comments on commit 18ad7a6

Please sign in to comment.