diff options
| author | 2014-03-14 10:26:45 +0100 | |
|---|---|---|
| committer | 2014-03-14 10:26:45 +0100 | |
| commit | 9e294427f6e427dbaf46140303acded06365f53c (patch) | |
| tree | 0669100cbd79fe8612463900171c98873d8dc454 /include/linux/gpio/consumer.h | |
| parent | gpio: clamp returned values to the boolean range (diff) | |
| parent | Linux 3.14-rc6 (diff) | |
| download | linux-dev-9e294427f6e427dbaf46140303acded06365f53c.tar.xz linux-dev-9e294427f6e427dbaf46140303acded06365f53c.zip | |
Merge tag 'v3.14-rc6' into devel
Linux 3.14-rc6
Diffstat (limited to 'include/linux/gpio/consumer.h')
| -rw-r--r-- | include/linux/gpio/consumer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/gpio/consumer.h b/include/linux/gpio/consumer.h index dccda505ba7c..bed128e8f4b1 100644 --- a/include/linux/gpio/consumer.h +++ b/include/linux/gpio/consumer.h @@ -4,8 +4,6 @@ #include <linux/err.h> #include <linux/kernel.h> -#ifdef CONFIG_GPIOLIB - struct device; /** @@ -17,6 +15,8 @@ struct device; */ struct gpio_desc; +#ifdef CONFIG_GPIOLIB + /* Acquire and dispose GPIOs */ struct gpio_desc *__must_check gpiod_get(struct device *dev, const char *con_id); |
