diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-02-20 07:45:45 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-02-22 17:59:32 +0100 |
commit | 03665e0f248d6b7542f72cd7c4ec521109f283c7 (patch) | |
tree | 72761b986a95728508f9d9871f30059ba3a409bc /drivers/pinctrl/pinmux.h | |
parent | pinctrl: Store mapping table as a list of chunks (diff) | |
download | linux-03665e0f248d6b7542f72cd7c4ec521109f283c7.tar.xz linux-03665e0f248d6b7542f72cd7c4ec521109f283c7.zip |
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.h | 16 |
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 @@ #ifdef CONFIG_PINMUX int pinmux_check_ops(struct pinctrl_dev *pctldev); -void pinmux_init_device_debugfs(struct dentry *devroot, - struct pinctrl_dev *pctldev); int pinmux_request_gpio(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned pin, unsigned gpio); @@ -36,6 +34,8 @@ int pinmux_apply_muxmap(struct pinctrl_dev *pctldev, void pinmux_put(struct pinctrl *p); int pinmux_enable(struct pinctrl *p); void pinmux_disable(struct pinctrl *p); +void pinmux_init_device_debugfs(struct dentry *devroot, + struct pinctrl_dev *pctldev); void pinmux_dbg_show(struct seq_file *s, struct pinctrl *p); #else @@ -45,11 +45,6 @@ static inline int pinmux_check_ops(struct pinctrl_dev *pctldev) return 0; } -static inline void pinmux_init_device_debugfs(struct dentry *devroot, - struct pinctrl_dev *pctldev) -{ -} - static inline int pinmux_request_gpio(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned pin, unsigned gpio) @@ -95,7 +90,12 @@ static inline void pinmux_disable(struct pinctrl *p) { } -void pinmux_dbg_show(struct seq_file *s, struct pinctrl *p) +static inline void pinmux_init_device_debugfs(struct dentry *devroot, + struct pinctrl_dev *pctldev) +{ +} + +static inline void pinmux_dbg_show(struct seq_file *s, struct pinctrl *p) { } |