@@ -515,8 +515,20 @@ void pinctrl_remove_gpio_range(struct pinctrl_dev *pctldev,
}
EXPORT_SYMBOL_GPL(pinctrl_remove_gpio_range);
+int pinctrl_generic_load_pins(struct pinctrl_desc *pctldesc, struct device *dev)
+{
+ return -ENOENT;
+}
+EXPORT_SYMBOL_GPL(pinctrl_generic_load_pins);
+
#ifdef CONFIG_GENERIC_PINCTRL_GROUPS
+int pinctrl_generic_load_groups(struct pinctrl_dev *pctldev)
+{
+ return -ENOENT;
+}
+EXPORT_SYMBOL_GPL(pinctrl_generic_load_groups);
+
/**
* pinctrl_generic_get_group_count() - returns the number of pin groups
* @pctldev: pin controller device
@@ -182,6 +182,8 @@ struct pinctrl_maps {
unsigned num_maps;
};
+int pinctrl_generic_load_pins(struct pinctrl_desc *pctldesc, struct device *dev);
+
#ifdef CONFIG_GENERIC_PINCTRL_GROUPS
/**
@@ -198,6 +200,8 @@ struct group_desc {
void *data;
};
+int pinctrl_generic_load_groups(struct pinctrl_dev *pctldev);
+
int pinctrl_generic_get_group_count(struct pinctrl_dev *pctldev);
const char *pinctrl_generic_get_group_name(struct pinctrl_dev *pctldev,
@@ -788,6 +788,12 @@ void pinmux_init_device_debugfs(struct dentry *devroot,
#ifdef CONFIG_GENERIC_PINMUX_FUNCTIONS
+int pinmux_generic_load_functions(struct pinctrl_dev *pctldev)
+{
+ return -ENOENT;
+}
+EXPORT_SYMBOL_GPL(pinmux_generic_load_functions);
+
/**
* pinmux_generic_get_function_count() - returns number of functions
* @pctldev: pin controller device
@@ -134,6 +134,8 @@ struct function_desc {
void *data;
};
+int pinmux_generic_load_functions(struct pinctrl_dev *pctldev);
+
int pinmux_generic_get_function_count(struct pinctrl_dev *pctldev);
const char *