aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinmux.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-02-20 01:45:45 -0500
committerLinus Walleij <linus.walleij@linaro.org>2012-02-22 11:59:32 -0500
commit03665e0f248d6b7542f72cd7c4ec521109f283c7 (patch)
tree72761b986a95728508f9d9871f30059ba3a409bc /drivers/pinctrl/pinmux.h
parentb2b3e66e40bb60b1aa222d2f712c019653215390 (diff)
pinctrl: Re-order pinmux.[ch] to match each-other
Modify the two files so that the order of function prototypes in the header matches the order of implementations in the .c file. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinmux.h')
-rw-r--r--drivers/pinctrl/pinmux.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/pinctrl/pinmux.h b/drivers/pinctrl/pinmux.h
index 7680a1703252..84b8fe946b5c 100644
--- a/drivers/pinctrl/pinmux.h
+++ b/drivers/pinctrl/pinmux.h
@@ -13,8 +13,6 @@
13#ifdef CONFIG_PINMUX 13#ifdef CONFIG_PINMUX
14 14
15int pinmux_check_ops(struct pinctrl_dev *pctldev); 15int pinmux_check_ops(struct pinctrl_dev *pctldev);
16void pinmux_init_device_debugfs(struct dentry *devroot,
17 struct pinctrl_dev *pctldev);
18int pinmux_request_gpio(struct pinctrl_dev *pctldev, 16int pinmux_request_gpio(struct pinctrl_dev *pctldev,
19 struct pinctrl_gpio_range *range, 17 struct pinctrl_gpio_range *range,
20 unsigned pin, unsigned gpio); 18 unsigned pin, unsigned gpio);
@@ -36,6 +34,8 @@ int pinmux_apply_muxmap(struct pinctrl_dev *pctldev,
36void pinmux_put(struct pinctrl *p); 34void pinmux_put(struct pinctrl *p);
37int pinmux_enable(struct pinctrl *p); 35int pinmux_enable(struct pinctrl *p);
38void pinmux_disable(struct pinctrl *p); 36void pinmux_disable(struct pinctrl *p);
37void pinmux_init_device_debugfs(struct dentry *devroot,
38 struct pinctrl_dev *pctldev);
39void pinmux_dbg_show(struct seq_file *s, struct pinctrl *p); 39void pinmux_dbg_show(struct seq_file *s, struct pinctrl *p);
40 40
41#else 41#else
@@ -45,11 +45,6 @@ static inline int pinmux_check_ops(struct pinctrl_dev *pctldev)
45 return 0; 45 return 0;
46} 46}
47 47
48static inline void pinmux_init_device_debugfs(struct dentry *devroot,
49 struct pinctrl_dev *pctldev)
50{
51}
52
53static inline int pinmux_request_gpio(struct pinctrl_dev *pctldev, 48static inline int pinmux_request_gpio(struct pinctrl_dev *pctldev,
54 struct pinctrl_gpio_range *range, 49 struct pinctrl_gpio_range *range,
55 unsigned pin, unsigned gpio) 50 unsigned pin, unsigned gpio)
@@ -95,7 +90,12 @@ static inline void pinmux_disable(struct pinctrl *p)
95{ 90{
96} 91}
97 92
98void pinmux_dbg_show(struct seq_file *s, struct pinctrl *p) 93static inline void pinmux_init_device_debugfs(struct dentry *devroot,
94 struct pinctrl_dev *pctldev)
95{
96}
97
98static inline void pinmux_dbg_show(struct seq_file *s, struct pinctrl *p)
99{ 99{
100} 100}
101 101