1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-10 15:26:14 +02:00
openwrt-xburst/target/linux/cns3xxx/patches-3.1/001-cns3xxx_remove_missing_includes.patch
kaloz 0de9beccaf [cns3xxx]: upgrade testing kernel support to 3.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-04 15:06:05 +00:00

46 lines
1.4 KiB
Diff

From b1bd6bd7c230e00b40b0b859f3c23eb56ef39f0c Mon Sep 17 00:00:00 2001
From: Imre Kaloz <kaloz@openwrt.org>
Date: Fri, 2 Sep 2011 08:07:00 +0200
Subject: [PATCH] ARM: remove missing cns3xxx includes
Commit c9d95fbe59e426eed7f16e7cac812e46ac4772d0 deleted cns3xxx' hardware.h,
but didn't remove references for it, breaking the build.
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
---
arch/arm/mach-cns3xxx/include/mach/entry-macro.S | 1 -
arch/arm/mach-cns3xxx/include/mach/system.h | 1 -
arch/arm/mach-cns3xxx/include/mach/uncompress.h | 1 -
3 files changed, 0 insertions(+), 3 deletions(-)
--- a/arch/arm/mach-cns3xxx/include/mach/entry-macro.S
+++ b/arch/arm/mach-cns3xxx/include/mach/entry-macro.S
@@ -8,7 +8,6 @@
* published by the Free Software Foundation.
*/
-#include <mach/hardware.h>
#include <asm/hardware/entry-macro-gic.S>
.macro disable_fiq
--- a/arch/arm/mach-cns3xxx/include/mach/system.h
+++ b/arch/arm/mach-cns3xxx/include/mach/system.h
@@ -13,7 +13,6 @@
#include <linux/io.h>
#include <asm/proc-fns.h>
-#include <mach/hardware.h>
static inline void arch_idle(void)
{
--- a/arch/arm/mach-cns3xxx/include/mach/uncompress.h
+++ b/arch/arm/mach-cns3xxx/include/mach/uncompress.h
@@ -8,7 +8,6 @@
*/
#include <asm/mach-types.h>
-#include <mach/hardware.h>
#include <mach/cns3xxx.h>
#define AMBA_UART_DR(base) (*(volatile unsigned char *)((base) + 0x00))