Make the ti_padstate_devmap arrays ststic, they are only used with the

file where they are defined.
This commit is contained in:
Andrew Turner 2014-10-14 13:24:25 +00:00
parent d1e159345b
commit f7b9150ee9
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ __FBSDID("$FreeBSD$");
#define PADCONF_INPUT_PULLDOWN (RXACTIVE)
#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_pullup", PADCONF_OUTPUT_PULLUP },
{"input", PADCONF_INPUT },

View File

@ -131,7 +131,7 @@ __FBSDID("$FreeBSD$");
.muxmodes[7] = m7, \
}
const struct ti_scm_padstate ti_padstate_devmap[] = {
const static struct ti_scm_padstate ti_padstate_devmap[] = {
{"output", PADCONF_PIN_OUTPUT},
{"input", PADCONF_PIN_INPUT},
{"input_pullup", PADCONF_PIN_INPUT_PULLUP},