From owner-svn-src-head@FreeBSD.ORG Sun May 25 10:56:46 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5821BF8; Sun, 25 May 2014 10:56:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 92BA82532; Sun, 25 May 2014 10:56:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4PAukw4083919; Sun, 25 May 2014 10:56:46 GMT (envelope-from andrew@svn.freebsd.org) Received: (from andrew@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4PAukZi083917; Sun, 25 May 2014 10:56:46 GMT (envelope-from andrew@svn.freebsd.org) Message-Id: <201405251056.s4PAukZi083917@svn.freebsd.org> From: Andrew Turner Date: Sun, 25 May 2014 10:56:46 +0000 (UTC) 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 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2014 10:56:46 -0000 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),