Commit d5c627b5 authored by Alex Elder's avatar Alex Elder Committed by Matt Porter

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: default avatarAlex Elder <elder@linaro.org>
Reviewed-by: default avatarMatt Porter <mporter@linaro.org>
Signed-off-by: default avatarMatt Porter <mporter@linaro.org>
parent 7b5fe9c9
...@@ -11,13 +11,12 @@ ...@@ -11,13 +11,12 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <linux/clocksource.h>
#include <linux/of_address.h> #include <linux/of_address.h>
#include <linux/of_platform.h> #include <linux/of_platform.h>
#include <linux/io.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include "bcm_kona_smc.h"
#include "kona.h" #include "kona.h"
#define RSTMGR_DT_STRING "brcm,bcm21664-resetmgr" #define RSTMGR_DT_STRING "brcm,bcm21664-resetmgr"
......
...@@ -11,11 +11,12 @@ ...@@ -11,11 +11,12 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <linux/of_platform.h>
#include <linux/init.h>
#include <linux/printk.h>
#include <asm/hardware/cache-l2x0.h> #include <asm/hardware/cache-l2x0.h>
#include "bcm_kona_smc.h" #include "bcm_kona_smc.h"
#include "kona.h"
void __init kona_l2_cache_init(void) void __init kona_l2_cache_init(void)
{ {
......
...@@ -12,8 +12,7 @@ ...@@ -12,8 +12,7 @@
*/ */
#ifdef CONFIG_ARCH_BCM_MOBILE_L2_CACHE #ifdef CONFIG_ARCH_BCM_MOBILE_L2_CACHE
void kona_l2_cache_init(void);
void __init kona_l2_cache_init(void);
#else #else
#define kona_l2_cache_init() ((void)0) #define kona_l2_cache_init() ((void)0)
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment