1
0
Fork 0
remarkable-linux/include/asm-arm/arch-omap
Russell King cfb41bf756 [ARM] fix OMAP include loops
OMAP has two include loops in its header files:

  asm-arm/hardware.h <- asm-arm/arch-omap/io.h <-
   asm-arm/arch-omap/hardware.h <- asm-arm/hardware.h

  asm-arm/arch-omap/board-palmte.h <-
   asm-arm/arch-omap/hardware.h <- asm-arm/hardware.h <-
   asm-arm/arch-omap/gpio.h <- asm-arm/arch-omap/board-palmte.h

Circular include dependencies are dangerous since they can result in
inconsistent definitions being provided to other code, especially if
'#ifndef' constructs are used.

Solve these by removing the offending includes, and add additional
includes where necessary.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-05-23 15:38:07 +01:00
..
aic23.h ARM: OMAP: Sync headers with linux-omap 2007-05-08 20:36:25 +01:00
blizzard.h ARM: OMAP: Merge driver headers from N800 tree 2007-09-20 09:59:26 -07:00
board-2430sdp.h ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
board-ams-delta.h ARM: OMAP: Add some extra #defines for Amstrad Delta 2006-09-25 12:41:31 +03:00
board-apollon.h ARM: OMAP1: Make omap1 use MMC multislot structures 2008-02-08 10:38:01 -08:00
board-fsample.h ARM: OMAP: Add core fsample support 2006-06-26 16:16:03 -07:00
board-h2.h ARM: OMAP1: Make omap1 use MMC multislot structures 2008-02-08 10:38:01 -08:00
board-h3.h ARM: OMAP1: omap h3 regression and build fix 2008-03-05 10:23:20 +02:00
board-h4.h ARM: OMAP: Sync headers with linux-omap 2007-05-08 20:36:25 +01:00
board-innovator.h [ARM] 4680/1: parentheses around NR_IRQS definition 2007-11-29 20:56:57 +00:00
board-nokia.h [ARM] 3433/1: ARM: OMAP: 8/8 Update board files 2006-04-02 17:46:30 +01:00
board-osk.h ARM: OMAP: Use gpiolib with tps65010 for OSK 5912 2008-04-14 09:57:06 -07:00
board-palmte.h [ARM] fix OMAP include loops 2008-05-23 15:38:07 +01:00
board-palmtt.h ARM: OMAP: Palm Tungsten|T support 2007-09-20 18:34:50 -07:00
board-palmz71.h ARM: OMAP: PalmZ71 support 2007-09-20 18:34:50 -07:00
board-perseus2.h [ARM] 3433/1: ARM: OMAP: 8/8 Update board files 2006-04-02 17:46:30 +01:00
board-sx1.h ARM: OMAP1: Use MMC multislot structures for Siemens SX1 board 2008-02-08 10:38:01 -08:00
board-voiceblue.h [ARM] 2888/1: OMAP 3/4: Update omap include files, take 2 2005-09-07 17:20:27 +01:00
board.h ARM: OMAP: abstract debug card setup (smc, leds) 2007-09-20 09:59:20 -07:00
clock.h [ARM] omap: fix omap clk support build errors 2008-05-22 16:38:50 +01:00
common.h ARM: OMAP: Add calls to omap2_set_globals_*() 2008-05-09 10:25:02 -07:00
control.h [ARM] fix parenthesis in include/asm-arm/arch-omap/control.h 2008-05-17 22:55:19 +01:00
cpu.h ARM: OMAP: Add 3430 CPU identification macros 2008-02-08 10:37:58 -08:00
debug-macro.S [ARM] 2888/1: OMAP 3/4: Update omap include files, take 2 2005-09-07 17:20:27 +01:00
dma.h ARM: OMAP: Add DMA support for chaining and 3430 2008-02-08 10:37:59 -08:00
dmtimer.h fix file specification in comments 2006-10-03 23:01:26 +02:00
dsp_common.h [ARM] 4869/1: ARM: OMAP: Fix compile for mcbsp 2008-03-20 15:59:31 +00:00
eac.h [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
entry-macro.S [ARM] fix OMAP include loops 2008-05-23 15:38:07 +01:00
fpga.h [ARM] 3143/1: OMAP 4/5: Update omap include files 2005-11-10 14:26:53 +00:00
gpio-switch.h ARM: OMAP: Sync headers with linux-omap 2007-05-08 20:36:25 +01:00
gpio.h [ARM] fix OMAP include loops 2008-05-23 15:38:07 +01:00
gpioexpander.h ARM: OMAP1: Fix compile for boards depending on old gpio expander 2008-03-05 10:23:20 +02:00
gpmc.h ARM: OMAP: Merge gpmc changes from N800 tree 2007-09-20 09:59:26 -07:00
hardware.h [ARM] fix OMAP include loops 2008-05-23 15:38:07 +01:00
hwa742.h ARM: OMAP: Sync framebuffer headers with N800 tree 2007-05-09 10:39:03 +01:00
io.h ARM: OMAP2: Change 24xx to use new register access 2008-04-14 10:29:37 -07:00
irda.h ARM: OMAP: H3 workqueue fixes 2007-08-22 00:42:51 -07:00
irqs.h ARM: OMAP: Add helper module for board specific I2C bus registration 2008-02-08 10:38:00 -08:00
keypad.h [PATCH] OMAP: Add keypad driver 2006-09-29 09:18:07 -07:00
lcd_mipid.h ARM: OMAP: Sync headers with linux-omap 2007-05-08 20:36:25 +01:00
led.h ARM: OMAP: Sync headers with linux-omap 2007-05-08 20:36:25 +01:00
mailbox.h [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
mcbsp.h fix file specification in comments 2006-10-03 23:01:26 +02:00
mcspi.h ARM: OMAP: Sync headers with linux-omap 2007-05-08 20:36:25 +01:00
memory.h ARM: OMAP: Sync headers with linux-omap 2007-05-08 20:36:25 +01:00
menelaus.h ARM: OMAP: Merge driver headers from N800 tree 2007-09-20 09:59:26 -07:00
mmc.h ARM: OMAP: Update MMC header to fix compile 2008-05-09 10:24:47 -07:00
mtd-xip.h [ARM] 2888/1: OMAP 3/4: Update omap include files, take 2 2005-09-07 17:20:27 +01:00
mux.h ARM: OMAP2: Clean-up mux code 2008-04-14 09:57:13 -07:00
nand.h ARM: OMAP1: Make omap1 boards to use omap_nand_platform_data 2008-02-08 10:38:00 -08:00
omap-alsa.h [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
omap16xx.h ARM: OMAP: Sync headers with linux-omap 2007-05-08 20:36:25 +01:00
omap24xx.h ARM: OMAP2: Change 24xx to use new register access 2008-04-14 10:29:37 -07:00
omap730.h [ARM] 2888/1: OMAP 3/4: Update omap include files, take 2 2005-09-07 17:20:27 +01:00
omap1510.h [ARM] 3143/1: OMAP 4/5: Update omap include files 2005-11-10 14:26:53 +00:00
omapfb.h ARM: OMAP: Sync framebuffer headers with N800 tree 2007-05-09 10:39:03 +01:00
onenand.h ARM: OMAP: Merge driver headers from N800 tree 2007-09-20 09:59:26 -07:00
param.h [ARM] 3427/1: ARM: OMAP: 2/8 Update timers 2006-04-02 17:46:21 +01:00
pm.h fix file specification in comments 2006-10-03 23:01:26 +02:00
prcm.h [ARM] 3426/1: ARM: OMAP: 1/8 Update clock framework 2006-04-02 17:46:20 +01:00
sdrc.h ARM: OMAP2: Add common register access for 24xx and 34xx 2008-04-14 10:27:25 -07:00
serial.h [ARM] 2888/1: OMAP 3/4: Update omap include files, take 2 2005-09-07 17:20:27 +01:00
sram.h ARM: OMAP: FB sync with N800 tree (support for dynamic SRAM allocations) 2007-05-09 10:39:14 +01:00
system.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
tc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
timex.h [ARM] 3143/1: OMAP 4/5: Update omap include files 2005-11-10 14:26:53 +00:00
uncompress.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
usb.h ARM: OMAP2: Add common register access for 24xx and 34xx 2008-04-14 10:27:25 -07:00
vmalloc.h [PATCH] ARM: cleanup vmalloc start/offset macros 2005-05-03 12:20:29 +01:00