aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcm
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2014-04-21 17:53:08 -0400
committerMatt Porter <mporter@linaro.org>2014-04-25 08:51:36 -0400
commitd5c627b5751ed44c0eff6c12e658097edf6338de (patch)
tree8423802258e2e7c7efa1c7c91a17223e4694ca81 /arch/arm/mach-bcm
parent7b5fe9c9115c92b7e6297216c789268961a19f98 (diff)
ARM: bcm: tidy up a few includes
Clean up a few header file includes, eliminating a few that are not really needed and putting in their place some that are. Signed-off-by: Alex Elder <elder@linaro.org> Reviewed-by: Matt Porter <mporter@linaro.org> Signed-off-by: Matt Porter <mporter@linaro.org>
Diffstat (limited to 'arch/arm/mach-bcm')
-rw-r--r--arch/arm/mach-bcm/board_bcm21664.c3
-rw-r--r--arch/arm/mach-bcm/kona.c5
-rw-r--r--arch/arm/mach-bcm/kona.h3
3 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm/mach-bcm/board_bcm21664.c b/arch/arm/mach-bcm/board_bcm21664.c
index acc1573fd005..1091637638f1 100644
--- a/arch/arm/mach-bcm/board_bcm21664.c
+++ b/arch/arm/mach-bcm/board_bcm21664.c
@@ -11,13 +11,12 @@
11 * GNU General Public License for more details. 11 * GNU General Public License for more details.
12 */ 12 */
13 13
14#include <linux/clocksource.h>
15#include <linux/of_address.h> 14#include <linux/of_address.h>
16#include <linux/of_platform.h> 15#include <linux/of_platform.h>
16#include <linux/io.h>
17 17
18#include <asm/mach/arch.h> 18#include <asm/mach/arch.h>
19 19
20#include "bcm_kona_smc.h"
21#include "kona.h" 20#include "kona.h"
22 21
23#define RSTMGR_DT_STRING "brcm,bcm21664-resetmgr" 22#define RSTMGR_DT_STRING "brcm,bcm21664-resetmgr"
diff --git a/arch/arm/mach-bcm/kona.c b/arch/arm/mach-bcm/kona.c
index 60b5dd5c866c..b31970377c20 100644
--- a/arch/arm/mach-bcm/kona.c
+++ b/arch/arm/mach-bcm/kona.c
@@ -11,11 +11,12 @@
11 * GNU General Public License for more details. 11 * GNU General Public License for more details.
12 */ 12 */
13 13
14#include <linux/of_platform.h> 14
15#include <linux/init.h>
16#include <linux/printk.h>
15#include <asm/hardware/cache-l2x0.h> 17#include <asm/hardware/cache-l2x0.h>
16 18
17#include "bcm_kona_smc.h" 19#include "bcm_kona_smc.h"
18#include "kona.h"
19 20
20void __init kona_l2_cache_init(void) 21void __init kona_l2_cache_init(void)
21{ 22{
diff --git a/arch/arm/mach-bcm/kona.h b/arch/arm/mach-bcm/kona.h
index 110185f7aad3..46f84a95ab1c 100644
--- a/arch/arm/mach-bcm/kona.h
+++ b/arch/arm/mach-bcm/kona.h
@@ -12,8 +12,7 @@
12 */ 12 */
13 13
14#ifdef CONFIG_ARCH_BCM_MOBILE_L2_CACHE 14#ifdef CONFIG_ARCH_BCM_MOBILE_L2_CACHE
15 15void kona_l2_cache_init(void);
16void __init kona_l2_cache_init(void);
17#else 16#else
18#define kona_l2_cache_init() ((void)0) 17#define kona_l2_cache_init() ((void)0)
19#endif 18#endif