Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jul 2015 17:09:28 +0000 (UTC)
From:      Luiz Otavio O Souza <loos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285103 - head/sys/arm/allwinner
Message-ID:  <201507031709.t63H9S6N025558@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: loos
Date: Fri Jul  3 17:09:27 2015
New Revision: 285103
URL: https://svnweb.freebsd.org/changeset/base/285103

Log:
  Remove duplicate and unnecessary includes.
  
  While here remove an unused and wrong define.

Modified:
  head/sys/arm/allwinner/a10_clk.c
  head/sys/arm/allwinner/a10_clk.h

Modified: head/sys/arm/allwinner/a10_clk.c
==============================================================================
--- head/sys/arm/allwinner/a10_clk.c	Fri Jul  3 16:58:17 2015	(r285102)
+++ head/sys/arm/allwinner/a10_clk.c	Fri Jul  3 17:09:27 2015	(r285103)
@@ -36,20 +36,11 @@ __FBSDID("$FreeBSD$");
 #include <sys/module.h>
 #include <sys/malloc.h>
 #include <sys/rman.h>
-#include <sys/timeet.h>
-#include <sys/timetc.h>
-#include <sys/watchdog.h>
 #include <machine/bus.h>
-#include <machine/cpu.h>
-#include <machine/intr.h>
 
-#include <dev/fdt/fdt_common.h>
 #include <dev/ofw/openfirm.h>
-#include <dev/ofw/ofw_bus.h>
 #include <dev/ofw/ofw_bus_subr.h>
 
-#include <machine/bus.h>
-
 #include "a10_clk.h"
 
 struct a10_ccm_softc {

Modified: head/sys/arm/allwinner/a10_clk.h
==============================================================================
--- head/sys/arm/allwinner/a10_clk.h	Fri Jul  3 16:58:17 2015	(r285102)
+++ head/sys/arm/allwinner/a10_clk.h	Fri Jul  3 17:09:27 2015	(r285103)
@@ -29,8 +29,6 @@
 #ifndef	_A10_CLK_H_
 #define	_A10_CLK_H_
 
-#define	CCMU_BASE		0xe1c20000
-
 #define	CCM_PLL1_CFG		0x0000
 #define	CCM_PLL1_TUN		0x0004
 #define	CCM_PLL2_CFG		0x0008



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