diff options
author | Haojian Zhuang <haojian.zhuang@linaro.org> | 2013-02-17 19:42:53 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-03-07 05:27:30 +0100 |
commit | 9cfd1724f070ffce27861cb7dcfca6808fd722b8 (patch) | |
tree | 692287ff38cc0525d0b8b65a053463095b8f3096 /drivers/pinctrl/pinconf.h | |
parent | a1a277eb76b3507df7c41774048a644aa4dfd096 (diff) | |
download | op-kernel-dev-9cfd1724f070ffce27861cb7dcfca6808fd722b8.zip op-kernel-dev-9cfd1724f070ffce27861cb7dcfca6808fd722b8.tar.gz |
pinctrl: generic: dump pin configuration
Add the support of dumping pin configuration.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinconf.h')
-rw-r--r-- | drivers/pinctrl/pinconf.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinconf.h b/drivers/pinctrl/pinconf.h index e3ed8cb..1f7113e 100644 --- a/drivers/pinctrl/pinconf.h +++ b/drivers/pinctrl/pinconf.h @@ -98,6 +98,8 @@ void pinconf_generic_dump_pin(struct pinctrl_dev *pctldev, void pinconf_generic_dump_group(struct pinctrl_dev *pctldev, struct seq_file *s, const char *gname); +void pinconf_generic_dump_config(struct pinctrl_dev *pctldev, + struct seq_file *s, unsigned long config); #else static inline void pinconf_generic_dump_pin(struct pinctrl_dev *pctldev, @@ -114,4 +116,10 @@ static inline void pinconf_generic_dump_group(struct pinctrl_dev *pctldev, return; } +static inline void pinconf_generic_dump_config(struct pinctrl_dev *pctldev, + struct seq_file *s, + unsigned long config) +{ + return; +} #endif |