Author: andrew Date: Tue Oct 14 13:24:25 2014 New Revision: 273086 URL: https://svnweb.freebsd.org/changeset/base/273086
Log: Make the ti_padstate_devmap arrays ststic, they are only used with the file where they are defined. Modified: head/sys/arm/ti/am335x/am335x_scm_padconf.c head/sys/arm/ti/omap4/omap4_scm_padconf.c Modified: head/sys/arm/ti/am335x/am335x_scm_padconf.c ============================================================================== --- head/sys/arm/ti/am335x/am335x_scm_padconf.c Tue Oct 14 13:06:13 2014 (r273085) +++ head/sys/arm/ti/am335x/am335x_scm_padconf.c Tue Oct 14 13:24:25 2014 (r273086) @@ -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 }, Modified: head/sys/arm/ti/omap4/omap4_scm_padconf.c ============================================================================== --- head/sys/arm/ti/omap4/omap4_scm_padconf.c Tue Oct 14 13:06:13 2014 (r273085) +++ head/sys/arm/ti/omap4/omap4_scm_padconf.c Tue Oct 14 13:24:25 2014 (r273086) @@ -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}, _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"