summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/leon_amba.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-25 23:20:13 +0200
committerDavid S. Miller <davem@davemloft.net>2012-05-28 08:52:46 +0200
commit5561cd269820252dccf08b1cc093afbc2f06242d (patch)
tree09b05a412acc787f6b400786b835f940227b4105 /arch/sparc/include/asm/leon_amba.h
parentsparc32,leon: clean up leon.h (diff)
downloadlinux-5561cd269820252dccf08b1cc093afbc2f06242d.tar.xz
linux-5561cd269820252dccf08b1cc093afbc2f06242d.zip
sparc32,leon: always include leon_kernel in build
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Daniel Hellstrom <daniel@gaisler.com> Cc: Konrad Eisele <konrad@gaisler.com>
Diffstat (limited to 'arch/sparc/include/asm/leon_amba.h')
-rw-r--r--arch/sparc/include/asm/leon_amba.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sparc/include/asm/leon_amba.h b/arch/sparc/include/asm/leon_amba.h
index e50f326e71bd..f3034eddf468 100644
--- a/arch/sparc/include/asm/leon_amba.h
+++ b/arch/sparc/include/asm/leon_amba.h
@@ -87,8 +87,6 @@ struct amba_prom_registers {
#define LEON3_GPTIMER_CONFIG_NRTIMERS(c) ((c)->config & 0x7)
#define LEON3_GPTIMER_CTRL_ISPENDING(r) (((r)&LEON3_GPTIMER_CTRL_PENDING) ? 1 : 0)
-#ifdef CONFIG_SPARC_LEON
-
#ifndef __ASSEMBLY__
struct leon3_irqctrl_regs_map {
@@ -264,6 +262,4 @@ extern unsigned int sparc_leon_eirq;
#define amba_device(x) (((x) >> 12) & 0xfff)
-#endif /* !defined(CONFIG_SPARC_LEON) */
-
#endif