ARM: OMAP1: Remove relative includes
As discussed on linux-arm-kernel, we want to avoid relative includes for the arch/arm/*omap* code: http://www.spinics.net/lists/linux-omap/msg80520.html Note that eventually when the omap1 specific drivers are fixed to not use cpu_is_omap macros and not depend on mach/hardware.h, this patch can be reverted and these headers can be local. But since just fixing the drivers for omap2+ is already a big enough hassle, let's deal with that properly first. [tony@atomide.com: also drop unused include for ispvideo.c] Signed-off-by: Tony Lindgren <tony@atomide.com>
Šī revīzija ir iekļauta:
@@ -39,7 +39,7 @@
|
||||
#include <asm/sizes.h>
|
||||
#ifndef __ASSEMBLER__
|
||||
#include <asm/types.h>
|
||||
#include "../../mach-omap1/soc.h"
|
||||
#include <mach/soc.h>
|
||||
|
||||
/*
|
||||
* NOTE: Please use ioremap + __raw_read/write where possible instead of these
|
||||
@@ -72,6 +72,9 @@ static inline u32 omap_cs3_phys(void)
|
||||
|
||||
#endif /* ifndef __ASSEMBLER__ */
|
||||
|
||||
#define OMAP1_IO_OFFSET 0x01000000 /* Virtual IO = 0xfefb0000 */
|
||||
#define OMAP1_IO_ADDRESS(pa) IOMEM((pa) - OMAP1_IO_OFFSET)
|
||||
|
||||
#include <mach/serial.h>
|
||||
|
||||
/*
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user