Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2017 13:04:14 +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: r312813 - in head/sys: arm/mv dev/fdt
Message-ID:  <201701261304.v0QD4Ex3003357@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Thu Jan 26 13:04:14 2017
New Revision: 312813
URL: https://svnweb.freebsd.org/changeset/base/312813

Log:
  Make fdt_pm_mask_table internal to the Marvell code, it's unued anywhere
  else.
  
  Sponsored by:	ABT Systems Ltd

Modified:
  head/sys/arm/mv/mv_common.c
  head/sys/dev/fdt/fdt_common.h

Modified: head/sys/arm/mv/mv_common.c
==============================================================================
--- head/sys/arm/mv/mv_common.c	Thu Jan 26 11:14:23 2017	(r312812)
+++ head/sys/arm/mv/mv_common.c	Thu Jan 26 13:04:14 2017	(r312813)
@@ -149,7 +149,12 @@ static struct soc_node_spec soc_nodes[] 
 	{ NULL, NULL, NULL },
 };
 
-struct fdt_pm_mask_entry fdt_pm_mask_table[] = {
+struct fdt_pm_mask_entry {
+	char		*compat;
+	uint32_t	mask;
+};
+
+static struct fdt_pm_mask_entry fdt_pm_mask_table[] = {
 	{ "mrvl,ge",		CPU_PM_CTRL_GE(0) },
 	{ "mrvl,ge",		CPU_PM_CTRL_GE(1) },
 	{ "mrvl,usb-ehci",	CPU_PM_CTRL_USB(0) },

Modified: head/sys/dev/fdt/fdt_common.h
==============================================================================
--- head/sys/dev/fdt/fdt_common.h	Thu Jan 26 11:14:23 2017	(r312812)
+++ head/sys/dev/fdt/fdt_common.h	Thu Jan 26 13:04:14 2017	(r312813)
@@ -71,12 +71,6 @@ extern vm_paddr_t fdt_immr_pa;
 extern vm_offset_t fdt_immr_va;
 extern vm_offset_t fdt_immr_size;
 
-struct fdt_pm_mask_entry {
-	char		*compat;
-	uint32_t	mask;
-};
-extern struct fdt_pm_mask_entry fdt_pm_mask_table[];
-
 #if defined(FDT_DTB_STATIC)
 extern u_char fdt_static_dtb;
 #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701261304.v0QD4Ex3003357>