|
@@ -873,13 +873,13 @@ static int pcs_parse_pinconf(struct pcs_device *pcs, struct device_node *np,
|
|
|
int i = 0, nconfs = 0;
|
|
|
unsigned long *settings = NULL, *s = NULL;
|
|
|
struct pcs_conf_vals *conf = NULL;
|
|
|
- struct pcs_conf_type prop2[] = {
|
|
|
+ static const struct pcs_conf_type prop2[] = {
|
|
|
{ "pinctrl-single,drive-strength", PIN_CONFIG_DRIVE_STRENGTH, },
|
|
|
{ "pinctrl-single,slew-rate", PIN_CONFIG_SLEW_RATE, },
|
|
|
{ "pinctrl-single,input-schmitt", PIN_CONFIG_INPUT_SCHMITT, },
|
|
|
{ "pinctrl-single,low-power-mode", PIN_CONFIG_LOW_POWER_MODE, },
|
|
|
};
|
|
|
- struct pcs_conf_type prop4[] = {
|
|
|
+ static const struct pcs_conf_type prop4[] = {
|
|
|
{ "pinctrl-single,bias-pullup", PIN_CONFIG_BIAS_PULL_UP, },
|
|
|
{ "pinctrl-single,bias-pulldown", PIN_CONFIG_BIAS_PULL_DOWN, },
|
|
|
{ "pinctrl-single,input-schmitt-enable",
|