Date: Sun, 25 May 2014 10:56:46 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266649 - in head/sys/arm/ti: am335x omap4 Message-ID: <201405251056.s4PAukZi083917@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Sun May 25 10:56:45 2014 New Revision: 266649 URL: http://svnweb.freebsd.org/changeset/base/266649 Log: Make ti_padconf_devmap static in both places it is 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 Sun May 25 10:49:07 2014 (r266648) +++ head/sys/arm/ti/am335x/am335x_scm_padconf.c Sun May 25 10:56:45 2014 (r266649) @@ -84,7 +84,7 @@ const struct ti_scm_padstate ti_padstate { .state = NULL } }; -const struct ti_scm_padconf ti_padconf_devmap[] = { +const static struct ti_scm_padconf ti_padconf_devmap[] = { _PIN(0x800, "GPMC_AD0", 32, 7,"gpmc_ad0", "mmc1_dat0", NULL, NULL, NULL, NULL, NULL, "gpio1_0"), _PIN(0x804, "GPMC_AD1", 33, 7,"gpmc_ad1", "mmc1_dat1", NULL, NULL, NULL, NULL, NULL, "gpio1_1"), _PIN(0x808, "GPMC_AD2", 34, 7,"gpmc_ad2", "mmc1_dat2", NULL, NULL, NULL, NULL, NULL, "gpio1_2"), Modified: head/sys/arm/ti/omap4/omap4_scm_padconf.c ============================================================================== --- head/sys/arm/ti/omap4/omap4_scm_padconf.c Sun May 25 10:49:07 2014 (r266648) +++ head/sys/arm/ti/omap4/omap4_scm_padconf.c Sun May 25 10:56:45 2014 (r266649) @@ -142,7 +142,7 @@ const struct ti_scm_padstate ti_padstate /* * Table 18-10, p. 3470 */ -const struct ti_scm_padconf ti_padconf_devmap[] = { +const static struct ti_scm_padconf ti_padconf_devmap[] = { _PINDEF(0x0040, "c12", 0, 0, "gpmc_ad0", "sdmmc2_dat0", NULL, NULL, NULL, NULL, NULL, NULL), _PINDEF(0x0042, "d12", 0, 0, "gpmc_ad1", "sdmmc2_dat1", NULL, NULL, NULL, NULL, NULL, NULL), _PINDEF(0x0044, "c13", 0, 0, "gpmc_ad2", "sdmmc2_dat2", NULL, NULL, NULL, NULL, NULL, NULL),
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405251056.s4PAukZi083917>