* [PATCH] ARM: sirf: drop redundant function and marco declaration
@ 2015-02-03 15:38 Barry Song
2015-02-06 8:32 ` Olof Johansson
0 siblings, 1 reply; 2+ messages in thread
From: Barry Song @ 2015-02-03 15:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Barry Song <Baohua.Song@csr.com>
with the patchset to add CSR atlas7 support, the below stuff
has no user now:
SIRFSOC_VA
sirfsoc_map_lluart
sirfsoc_map_scu
the related patches missed to drop them.
Signed-off-by: Barry Song <Baohua.Song@csr.com>
---
arch/arm/mach-prima2/common.h | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/arch/arm/mach-prima2/common.h b/arch/arm/mach-prima2/common.h
index 07d3e5e..3916a66 100644
--- a/arch/arm/mach-prima2/common.h
+++ b/arch/arm/mach-prima2/common.h
@@ -15,9 +15,6 @@
#include <asm/mach/time.h>
#include <asm/exception.h>
-#define SIRFSOC_VA_BASE _AC(0xFEC00000, UL)
-#define SIRFSOC_VA(x) (SIRFSOC_VA_BASE + ((x) & 0x00FFF000))
-
extern struct smp_operations sirfsoc_smp_ops;
extern void sirfsoc_secondary_startup(void);
extern void sirfsoc_cpu_die(unsigned int cpu);
@@ -25,18 +22,6 @@ extern void sirfsoc_cpu_die(unsigned int cpu);
extern void __init sirfsoc_of_irq_init(void);
extern asmlinkage void __exception_irq_entry sirfsoc_handle_irq(struct pt_regs *regs);
-#ifndef CONFIG_DEBUG_LL
-static inline void sirfsoc_map_lluart(void) {}
-#else
-extern void __init sirfsoc_map_lluart(void);
-#endif
-
-#ifndef CONFIG_SMP
-static inline void sirfsoc_map_scu(void) {}
-#else
-extern void sirfsoc_map_scu(void);
-#endif
-
#ifdef CONFIG_SUSPEND
extern int sirfsoc_pm_init(void);
#else
--
2.2.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: sirf: drop redundant function and marco declaration
2015-02-03 15:38 [PATCH] ARM: sirf: drop redundant function and marco declaration Barry Song
@ 2015-02-06 8:32 ` Olof Johansson
0 siblings, 0 replies; 2+ messages in thread
From: Olof Johansson @ 2015-02-06 8:32 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Feb 03, 2015 at 11:38:09PM +0800, Barry Song wrote:
> From: Barry Song <Baohua.Song@csr.com>
>
> with the patchset to add CSR atlas7 support, the below stuff
> has no user now:
> SIRFSOC_VA
> sirfsoc_map_lluart
> sirfsoc_map_scu
>
> the related patches missed to drop them.
>
> Signed-off-by: Barry Song <Baohua.Song@csr.com>
Thanks, applied to next/cleanup.
-Olof
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-06 8:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-03 15:38 [PATCH] ARM: sirf: drop redundant function and marco declaration Barry Song
2015-02-06 8:32 ` Olof Johansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).