summaryrefslogtreecommitdiff
path: root/include/linux/pinctrl/machine.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-03-06 21:15:51 +0100
committerLinus Walleij <linus.walleij@linaro.org>2012-03-06 23:08:19 +0100
commit9a01be1715b6a027765701ca09ba0401ff066fc5 (patch)
tree334691b9242f7b9663ba1c53af3c668b8e3400d3 /include/linux/pinctrl/machine.h
parent872acc322c74bb06b7ceb61fe93314e2da32362c (diff)
downloadlinux-stable-9a01be1715b6a027765701ca09ba0401ff066fc5.tar.gz
linux-stable-9a01be1715b6a027765701ca09ba0401ff066fc5.tar.bz2
linux-stable-9a01be1715b6a027765701ca09ba0401ff066fc5.zip
pinctrl: split pincontrol states into its own header
Move the pin control state defines into its own header file, since it is used both by machine.h which is facing the platform and by consumer.h which is facing the drivers, and pinctrl.h which is pinctrl-driver internal, let's not have each and every .h file include all others, then isolation is moot. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/pinctrl/machine.h')
-rw-r--r--include/linux/pinctrl/machine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pinctrl/machine.h b/include/linux/pinctrl/machine.h
index 3fd2f9dfc645..fee4349364f7 100644
--- a/include/linux/pinctrl/machine.h
+++ b/include/linux/pinctrl/machine.h
@@ -12,7 +12,7 @@
#ifndef __LINUX_PINCTRL_MACHINE_H
#define __LINUX_PINCTRL_MACHINE_H
-#include "pinctrl.h"
+#include "pinctrl-state.h"
enum pinctrl_map_type {
PIN_MAP_TYPE_INVALID,