mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 22:24:09 +08:00
7fca0aa489
Including asm/hardware.h into asm/io.h can cause #define clashes between platform specific definitions and driver local definitions. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
24 lines
568 B
C
24 lines
568 B
C
/* include/asm-arm/arch-lh7a40x/io.h
|
|
*
|
|
* Copyright (C) 2004 Coastal Environmental Systems
|
|
*
|
|
* 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.
|
|
*
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_IO_H
|
|
#define __ASM_ARCH_IO_H
|
|
|
|
#include <asm/hardware.h>
|
|
|
|
#define IO_SPACE_LIMIT 0xffffffff
|
|
|
|
/* No ISA or PCI bus on this machine. */
|
|
#define __io(a) ((void __iomem *)(a))
|
|
#define __mem_pci(a) (a)
|
|
#define __mem_isa(a) (a)
|
|
|
|
#endif /* __ASM_ARCH_IO_H */
|