Make the ti_padstate_devmap arrays ststic, they are only used with the
file where they are defined.
This commit is contained in:
parent
d1e159345b
commit
f7b9150ee9
@ -74,7 +74,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
#define PADCONF_INPUT_PULLDOWN (RXACTIVE)
|
#define PADCONF_INPUT_PULLDOWN (RXACTIVE)
|
||||||
#define PADCONF_INPUT_PULLUP_SLOW (PADCONF_INPUT_PULLUP | SLEWCTRL)
|
#define PADCONF_INPUT_PULLUP_SLOW (PADCONF_INPUT_PULLUP | SLEWCTRL)
|
||||||
|
|
||||||
const struct ti_scm_padstate ti_padstate_devmap[] = {
|
const static struct ti_scm_padstate ti_padstate_devmap[] = {
|
||||||
{"output", PADCONF_OUTPUT },
|
{"output", PADCONF_OUTPUT },
|
||||||
{"output_pullup", PADCONF_OUTPUT_PULLUP },
|
{"output_pullup", PADCONF_OUTPUT_PULLUP },
|
||||||
{"input", PADCONF_INPUT },
|
{"input", PADCONF_INPUT },
|
||||||
|
@ -131,7 +131,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
.muxmodes[7] = m7, \
|
.muxmodes[7] = m7, \
|
||||||
}
|
}
|
||||||
|
|
||||||
const struct ti_scm_padstate ti_padstate_devmap[] = {
|
const static struct ti_scm_padstate ti_padstate_devmap[] = {
|
||||||
{"output", PADCONF_PIN_OUTPUT},
|
{"output", PADCONF_PIN_OUTPUT},
|
||||||
{"input", PADCONF_PIN_INPUT},
|
{"input", PADCONF_PIN_INPUT},
|
||||||
{"input_pullup", PADCONF_PIN_INPUT_PULLUP},
|
{"input_pullup", PADCONF_PIN_INPUT_PULLUP},
|
||||||
|
Loading…
Reference in New Issue
Block a user