Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2015 11:26:35 +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: r290974 - in head/sys/arm: arm include
Message-ID:  <201511171126.tAHBQZI8073459@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Tue Nov 17 11:26:35 2015
New Revision: 290974
URL: https://svnweb.freebsd.org/changeset/base/290974

Log:
  Make pl310_print_config static, it's not called out of pl310.c
  
  Sponsored by:	ABT Systems Ltd

Modified:
  head/sys/arm/arm/pl310.c
  head/sys/arm/include/pl310.h

Modified: head/sys/arm/arm/pl310.c
==============================================================================
--- head/sys/arm/arm/pl310.c	Tue Nov 17 05:41:47 2015	(r290973)
+++ head/sys/arm/arm/pl310.c	Tue Nov 17 11:26:35 2015	(r290974)
@@ -90,7 +90,7 @@ static struct ofw_compat_data compat_dat
 	{NULL,			false}
 };
 
-void
+static void
 pl310_print_config(struct pl310_softc *sc)
 {
 	uint32_t aux, prefetch;

Modified: head/sys/arm/include/pl310.h
==============================================================================
--- head/sys/arm/include/pl310.h	Tue Nov 17 05:41:47 2015	(r290973)
+++ head/sys/arm/include/pl310.h	Tue Nov 17 11:26:35 2015	(r290974)
@@ -177,7 +177,6 @@ pl310_write4(struct pl310_softc *sc, bus
 	bus_write_4(sc->sc_mem_res, off, val);
 }
 
-void pl310_print_config(struct pl310_softc *sc);
 void pl310_set_ram_latency(struct pl310_softc *sc, uint32_t which_reg,
     uint32_t read, uint32_t write, uint32_t setup);
 



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