svn commit: r290974 - in head/sys/arm: arm include

Andrew Turner andrew at FreeBSD.org
Tue Nov 17 11:26:37 UTC 2015


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);
 


More information about the svn-src-head mailing list