[ARM] Remove asm/hardware.h, use asm/arch/hardware.h instead
Remove includes of asm/hardware.h in addition to asm/arch/hardware.h. Then, since asm/hardware.h only exists to include asm/arch/hardware.h, update everything to directly include asm/arch/hardware.h and remove asm/hardware.h. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:

committed by
Russell King

parent
0f8469a54f
commit
be50972935
@@ -1,18 +0,0 @@
|
||||
/*
|
||||
* arch/arm/include/asm/hardware.h
|
||||
*
|
||||
* Copyright (C) 1996 Russell King
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* Common hardware definitions
|
||||
*/
|
||||
|
||||
#ifndef __ASM_HARDWARE_H
|
||||
#define __ASM_HARDWARE_H
|
||||
|
||||
#include <asm/arch/hardware.h>
|
||||
|
||||
#endif
|
@@ -19,7 +19,7 @@
|
||||
#define DC21285_PCI_MEM 0x80000000
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
#include <asm/hardware.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#define DC21285_IO(x) ((volatile unsigned long *)(ARMCSR_BASE+(x)))
|
||||
#else
|
||||
#define DC21285_IO(x) (x)
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#define _ADMA_H
|
||||
#include <linux/types.h>
|
||||
#include <linux/io.h>
|
||||
#include <asm/hardware.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/hardware/iop_adma.h>
|
||||
|
||||
/* Memory copy units */
|
||||
|
@@ -25,7 +25,7 @@
|
||||
#ifndef __ASM_ARM_HARDWARE_IOP3XX_GPIO_H
|
||||
#define __ASM_ARM_HARDWARE_IOP3XX_GPIO_H
|
||||
|
||||
#include <asm/hardware.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm-generic/gpio.h>
|
||||
|
||||
#define IOP3XX_N_GPIOS 8
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#ifndef __ARM_MTD_XIP_H__
|
||||
#define __ARM_MTD_XIP_H__
|
||||
|
||||
#include <asm/hardware.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/mtd-xip.h>
|
||||
|
||||
/* fill instruction prefetch */
|
||||
|
@@ -4,7 +4,7 @@
|
||||
#ifdef __KERNEL__
|
||||
#include <asm-generic/pci-dma-compat.h>
|
||||
|
||||
#include <asm/hardware.h> /* for PCIBIOS_MIN_* */
|
||||
#include <asm/arch/hardware.h> /* for PCIBIOS_MIN_* */
|
||||
|
||||
#define pcibios_scan_all_fns(a, b) 0
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#ifndef ASMARM_VGA_H
|
||||
#define ASMARM_VGA_H
|
||||
|
||||
#include <asm/hardware.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
#define VGA_MAP_MEM(x,s) (PCIMEM_BASE + (x))
|
||||
|
Reference in New Issue
Block a user