diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-07-24 14:08:55 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-07-28 06:23:35 -0400 |
commit | 0a6d315827eedc733d404ecff3cd4cc0e6437865 (patch) | |
tree | de3b6538e200030ad2a3f7553e7e78f2112f652d /Documentation/gpio | |
parent | c7caf86823c71fae652cc50c7d8dd0d2b5c41229 (diff) |
gpio: split gpiod board registration into machine header
As per example from the regulator subsystem: put all defines and
functions related to registering board info for GPIO descriptors
into a separate <linux/gpio/machine.h> header.
Cc: Andrew Victor <linux@maxim.org.za>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Reviewed-by: Alexandre Courbot <gnurou@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/gpio')
-rw-r--r-- | Documentation/gpio/board.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/gpio/board.txt b/Documentation/gpio/board.txt index ba169faad5c6..4452786225b8 100644 --- a/Documentation/gpio/board.txt +++ b/Documentation/gpio/board.txt | |||
@@ -60,7 +60,7 @@ Platform Data | |||
60 | Finally, GPIOs can be bound to devices and functions using platform data. Board | 60 | Finally, GPIOs can be bound to devices and functions using platform data. Board |
61 | files that desire to do so need to include the following header: | 61 | files that desire to do so need to include the following header: |
62 | 62 | ||
63 | #include <linux/gpio/driver.h> | 63 | #include <linux/gpio/machine.h> |
64 | 64 | ||
65 | GPIOs are mapped by the means of tables of lookups, containing instances of the | 65 | GPIOs are mapped by the means of tables of lookups, containing instances of the |
66 | gpiod_lookup structure. Two macros are defined to help declaring such mappings: | 66 | gpiod_lookup structure. Two macros are defined to help declaring such mappings: |