|
@@ -90,7 +90,7 @@ static inline void pinconf_init_device_debugfs(struct dentry *devroot,
|
|
* pin config.
|
|
* pin config.
|
|
*/
|
|
*/
|
|
|
|
|
|
-#ifdef CONFIG_GENERIC_PINCONF
|
|
|
|
|
|
+#if defined(CONFIG_GENERIC_PINCONF) && defined(CONFIG_DEBUG_FS)
|
|
|
|
|
|
void pinconf_generic_dump_pin(struct pinctrl_dev *pctldev,
|
|
void pinconf_generic_dump_pin(struct pinctrl_dev *pctldev,
|
|
struct seq_file *s, unsigned pin);
|
|
struct seq_file *s, unsigned pin);
|