Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61b38753 authored by Linus Walleij's avatar Linus Walleij Committed by Russell King
Browse files

ARM: 7179/1: nomadik: localize cpu-8815 header



The symbols from cpu-8815.c were being broadcast across the
entire kernel but are only really used locally in mach-nomadik
so let's localize them.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 3f1517a7
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -34,6 +34,8 @@
#include <mach/nand.h>
#include <mach/nand.h>
#include <mach/fsmc.h>
#include <mach/fsmc.h>


#include "cpu-8815.h"

/* Initial value for SRC control register: all timers use MXTAL/8 source */
/* Initial value for SRC control register: all timers use MXTAL/8 source */
#define SRC_CR_INIT_MASK	0x00007fff
#define SRC_CR_INIT_MASK	0x00007fff
#define SRC_CR_INIT_VAL		0x2aaa8000
#define SRC_CR_INIT_VAL		0x2aaa8000
+1 −0
Original line number Original line Diff line number Diff line
@@ -32,6 +32,7 @@
#include <asm/hardware/cache-l2x0.h>
#include <asm/hardware/cache-l2x0.h>


#include "clock.h"
#include "clock.h"
#include "cpu-8815.h"


#define __MEM_4K_RESOURCE(x) \
#define __MEM_4K_RESOURCE(x) \
	.res = {.start = (x), .end = (x) + SZ_4K - 1, .flags = IORESOURCE_MEM}
	.res = {.start = (x), .end = (x) + SZ_4K - 1, .flags = IORESOURCE_MEM}
+3 −0
Original line number Original line Diff line number Diff line
extern void cpu8815_map_io(void);
extern void cpu8815_platform_init(void);
extern void cpu8815_init_irq(void);
+0 −3
Original line number Original line Diff line number Diff line
@@ -12,9 +12,6 @@


#ifdef CONFIG_NOMADIK_8815
#ifdef CONFIG_NOMADIK_8815


extern void cpu8815_map_io(void);
extern void cpu8815_platform_init(void);
extern void cpu8815_init_irq(void);
extern void nmdk_timer_init(void);
extern void nmdk_timer_init(void);


#endif /* NOMADIK_8815 */
#endif /* NOMADIK_8815 */