From 27723ec4ec7fab52e4e14ec35391390b296cb9d0 Mon Sep 17 00:00:00 2001 From: Alexander Shiyan Date: Mon, 14 May 2012 21:46:08 +0400 Subject: [PATCH] ARM: clps711x: Used own subarch directory for store header file There is no reason to have the clps7111.h header in a globally visible location, so move it to a place that is only visible when building for mach-clps711x. Signed-off-by: Alexander Shiyan Signed-off-by: Arnd Bergmann --- .../include/mach/clps711x.h} | 14 ++++++-------- arch/arm/mach-clps711x/include/mach/hardware.h | 2 +- arch/arm/mach-clps711x/include/mach/uncompress.h | 2 +- 3 files changed, 8 insertions(+), 10 deletions(-) rename arch/arm/{include/asm/hardware/clps7111.h => mach-clps711x/include/mach/clps711x.h} (95%) diff --git a/arch/arm/include/asm/hardware/clps7111.h b/arch/arm/mach-clps711x/include/mach/clps711x.h similarity index 95% rename from arch/arm/include/asm/hardware/clps7111.h rename to arch/arm/mach-clps711x/include/mach/clps711x.h index 0998606920b1..3e0759122ba8 100644 --- a/arch/arm/include/asm/hardware/clps7111.h +++ b/arch/arm/mach-clps711x/include/mach/clps711x.h @@ -1,8 +1,6 @@ /* - * arch/arm/include/asm/hardware/clps7111.h - * - * This file contains the hardware definitions of the CLPS7111 internal - * registers. + * This file contains the hardware definitions of the Cirrus Logic + * ARM7 CLPS711X internal registers. * * Copyright (C) 2000 Deep Blue Solutions Ltd. * @@ -20,8 +18,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef __ASM_HARDWARE_CLPS7111_H -#define __ASM_HARDWARE_CLPS7111_H +#ifndef __MACH_CLPS711X_H +#define __MACH_CLPS711X_H #define CLPS711X_PHYS_BASE (0x80000000) @@ -43,7 +41,7 @@ #define INTSR1 (0x0240) #define INTMR1 (0x0280) #define LCDCON (0x02c0) -#define TC1D (0x0300) +#define TC1D (0x0300) #define TC2D (0x0340) #define RTCDR (0x0380) #define RTCMR (0x03c0) @@ -231,4 +229,4 @@ #define SDCONF_CASLAT_2 (2) #define SDCONF_CASLAT_3 (3) -#endif /* __ASM_HARDWARE_CLPS7111_H */ +#endif /* __MACH_CLPS711X_H */ diff --git a/arch/arm/mach-clps711x/include/mach/hardware.h b/arch/arm/mach-clps711x/include/mach/hardware.h index d31fc791f516..13a64fcd7dd1 100644 --- a/arch/arm/mach-clps711x/include/mach/hardware.h +++ b/arch/arm/mach-clps711x/include/mach/hardware.h @@ -22,7 +22,7 @@ #ifndef __MACH_HARDWARE_H #define __MACH_HARDWARE_H -#include +#include #define CLPS711X_VIRT_BASE IOMEM(0xff000000) diff --git a/arch/arm/mach-clps711x/include/mach/uncompress.h b/arch/arm/mach-clps711x/include/mach/uncompress.h index 263f8393ccb7..7b28d6a47690 100644 --- a/arch/arm/mach-clps711x/include/mach/uncompress.h +++ b/arch/arm/mach-clps711x/include/mach/uncompress.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include +#include #ifdef CONFIG_DEBUG_CLPS711X_UART2 #define SYSFLGx SYSFLG2