]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - sound/soc/omap/omap3evm.c
omap: headers: Move remaining headers from include/mach to include/plat
authorTony Lindgren <tony@atomide.com>
Tue, 20 Oct 2009 16:40:47 +0000 (09:40 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 20 Oct 2009 16:40:47 +0000 (09:40 -0700)
commitce491cf85466c3377228c5a852ea627ec5136956
tree3396aa3dc80ac30de662b59218d3bf788d105996
parent3eff851b9dc1e84aa0822772e0be9afb0c973585
omap: headers: Move remaining headers from include/mach to include/plat

Move the remaining headers under plat-omap/include/mach
to plat-omap/include/plat. Also search and replace the
files using these headers to include using the right path.

This was done with:

#!/bin/bash
mach_dir_old="arch/arm/plat-omap/include/mach"
plat_dir_new="arch/arm/plat-omap/include/plat"
headers=$(cd $mach_dir_old && ls *.h)
omap_dirs="arch/arm/*omap*/ \
drivers/video/omap \
sound/soc/omap"
other_files="drivers/leds/leds-ams-delta.c \
drivers/mfd/menelaus.c \
drivers/mfd/twl4030-core.c \
drivers/mtd/nand/ams-delta.c"

for header in $headers; do
old="#include <mach\/$header"
new="#include <plat\/$header"
for dir in $omap_dirs; do
find $dir -type f -name \*.[chS] | \
xargs sed -i "s/$old/$new/"
done
find drivers/ -type f -name \*omap*.[chS] | \
xargs sed -i "s/$old/$new/"
for file in $other_files; do
sed -i "s/$old/$new/" $file
done
done

for header in $(ls $mach_dir_old/*.h); do
git mv $header $plat_dir_new/
done

Signed-off-by: Tony Lindgren <tony@atomide.com>
283 files changed:
arch/arm/mach-omap1/board-ams-delta.c
arch/arm/mach-omap1/board-fsample.c
arch/arm/mach-omap1/board-generic.c
arch/arm/mach-omap1/board-h2-mmc.c
arch/arm/mach-omap1/board-h2.c
arch/arm/mach-omap1/board-h3-mmc.c
arch/arm/mach-omap1/board-h3.c
arch/arm/mach-omap1/board-innovator.c
arch/arm/mach-omap1/board-nokia770.c
arch/arm/mach-omap1/board-osk.c
arch/arm/mach-omap1/board-palmte.c
arch/arm/mach-omap1/board-palmtt.c
arch/arm/mach-omap1/board-palmz71.c
arch/arm/mach-omap1/board-perseus2.c
arch/arm/mach-omap1/board-sx1-mmc.c
arch/arm/mach-omap1/board-sx1.c
arch/arm/mach-omap1/board-voiceblue.c
arch/arm/mach-omap1/clock.c
arch/arm/mach-omap1/devices.c
arch/arm/mach-omap1/fpga.c
arch/arm/mach-omap1/id.c
arch/arm/mach-omap1/io.c
arch/arm/mach-omap1/irq.c
arch/arm/mach-omap1/leds-h2p2-debug.c
arch/arm/mach-omap1/leds.c
arch/arm/mach-omap1/mailbox.c
arch/arm/mach-omap1/mcbsp.c
arch/arm/mach-omap1/mux.c
arch/arm/mach-omap1/pm.c
arch/arm/mach-omap1/serial.c
arch/arm/mach-omap1/timer32k.c
arch/arm/mach-omap2/board-2430sdp.c
arch/arm/mach-omap2/board-3430sdp.c
arch/arm/mach-omap2/board-4430sdp.c
arch/arm/mach-omap2/board-apollon.c
arch/arm/mach-omap2/board-generic.c
arch/arm/mach-omap2/board-h4.c
arch/arm/mach-omap2/board-ldp.c
arch/arm/mach-omap2/board-n8x0.c
arch/arm/mach-omap2/board-omap3beagle.c
arch/arm/mach-omap2/board-omap3evm.c
arch/arm/mach-omap2/board-omap3pandora.c
arch/arm/mach-omap2/board-overo.c
arch/arm/mach-omap2/board-rx51-peripherals.c
arch/arm/mach-omap2/board-rx51.c
arch/arm/mach-omap2/board-zoom-debugboard.c
arch/arm/mach-omap2/board-zoom2.c
arch/arm/mach-omap2/clock.c
arch/arm/mach-omap2/clock.h
arch/arm/mach-omap2/clock24xx.c
arch/arm/mach-omap2/clock34xx.c
arch/arm/mach-omap2/clock34xx.h
arch/arm/mach-omap2/clockdomain.c
arch/arm/mach-omap2/clockdomains.h
arch/arm/mach-omap2/control.c
arch/arm/mach-omap2/devices.c
arch/arm/mach-omap2/gpmc-onenand.c
arch/arm/mach-omap2/gpmc-smc91x.c
arch/arm/mach-omap2/gpmc.c
arch/arm/mach-omap2/id.c
arch/arm/mach-omap2/include/mach/entry-macro.S
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/iommu2.c
arch/arm/mach-omap2/mailbox.c
arch/arm/mach-omap2/mcbsp.c
arch/arm/mach-omap2/mmc-twl4030.c
arch/arm/mach-omap2/mux.c
arch/arm/mach-omap2/omap-smp.c
arch/arm/mach-omap2/omap3-iommu.c
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/mach-omap2/omap_hwmod_2420.h
arch/arm/mach-omap2/omap_hwmod_2430.h
arch/arm/mach-omap2/omap_hwmod_34xx.h
arch/arm/mach-omap2/pm-debug.c
arch/arm/mach-omap2/pm.h
arch/arm/mach-omap2/pm24xx.c
arch/arm/mach-omap2/pm34xx.c
arch/arm/mach-omap2/powerdomain.c
arch/arm/mach-omap2/powerdomains.h
arch/arm/mach-omap2/powerdomains24xx.h
arch/arm/mach-omap2/powerdomains34xx.h
arch/arm/mach-omap2/prcm.c
arch/arm/mach-omap2/sdram-micron-mt46h32m32lf-6.h
arch/arm/mach-omap2/sdram-qimonda-hyb18m512160af-6.h
arch/arm/mach-omap2/sdrc.c
arch/arm/mach-omap2/sdrc.h
arch/arm/mach-omap2/sdrc2xxx.c
arch/arm/mach-omap2/serial.c
arch/arm/mach-omap2/sleep24xx.S
arch/arm/mach-omap2/sleep34xx.S
arch/arm/mach-omap2/timer-gp.c
arch/arm/mach-omap2/usb-musb.c
arch/arm/mach-omap2/usb-tusb6010.c
arch/arm/plat-omap/clock.c
arch/arm/plat-omap/common.c
arch/arm/plat-omap/cpu-omap.c
arch/arm/plat-omap/debug-devices.c
arch/arm/plat-omap/debug-leds.c
arch/arm/plat-omap/devices.c
arch/arm/plat-omap/dma.c
arch/arm/plat-omap/dmtimer.c
arch/arm/plat-omap/fb.c
arch/arm/plat-omap/i2c.c
arch/arm/plat-omap/include/mach/blizzard.h [deleted file]
arch/arm/plat-omap/include/mach/board-ams-delta.h [deleted file]
arch/arm/plat-omap/include/mach/board-sx1.h [deleted file]
arch/arm/plat-omap/include/mach/board-voiceblue.h [deleted file]
arch/arm/plat-omap/include/mach/board.h [deleted file]
arch/arm/plat-omap/include/mach/clock.h [deleted file]
arch/arm/plat-omap/include/mach/clockdomain.h [deleted file]
arch/arm/plat-omap/include/mach/common.h [deleted file]
arch/arm/plat-omap/include/mach/control.h [deleted file]
arch/arm/plat-omap/include/mach/cpu.h [deleted file]
arch/arm/plat-omap/include/mach/dma.h [deleted file]
arch/arm/plat-omap/include/mach/dmtimer.h [deleted file]
arch/arm/plat-omap/include/mach/dsp_common.h [deleted file]
arch/arm/plat-omap/include/mach/fpga.h [deleted file]
arch/arm/plat-omap/include/mach/gpio-switch.h [deleted file]
arch/arm/plat-omap/include/mach/gpmc-smc91x.h [deleted file]
arch/arm/plat-omap/include/mach/gpmc.h [deleted file]
arch/arm/plat-omap/include/mach/hwa742.h [deleted file]
arch/arm/plat-omap/include/mach/iommu.h [deleted file]
arch/arm/plat-omap/include/mach/iommu2.h [deleted file]
arch/arm/plat-omap/include/mach/iovmm.h [deleted file]
arch/arm/plat-omap/include/mach/irda.h [deleted file]
arch/arm/plat-omap/include/mach/keypad.h [deleted file]
arch/arm/plat-omap/include/mach/lcd_mipid.h [deleted file]
arch/arm/plat-omap/include/mach/led.h [deleted file]
arch/arm/plat-omap/include/mach/mailbox.h [deleted file]
arch/arm/plat-omap/include/mach/mcbsp.h [deleted file]
arch/arm/plat-omap/include/mach/mcspi.h [deleted file]
arch/arm/plat-omap/include/mach/menelaus.h [deleted file]
arch/arm/plat-omap/include/mach/mmc.h [deleted file]
arch/arm/plat-omap/include/mach/mux.h [deleted file]
arch/arm/plat-omap/include/mach/nand.h [deleted file]
arch/arm/plat-omap/include/mach/omap-alsa.h [deleted file]
arch/arm/plat-omap/include/mach/omap-pm.h [deleted file]
arch/arm/plat-omap/include/mach/omap1510.h [deleted file]
arch/arm/plat-omap/include/mach/omap16xx.h [deleted file]
arch/arm/plat-omap/include/mach/omap24xx.h [deleted file]
arch/arm/plat-omap/include/mach/omap34xx.h [deleted file]
arch/arm/plat-omap/include/mach/omap44xx.h [deleted file]
arch/arm/plat-omap/include/mach/omap730.h [deleted file]
arch/arm/plat-omap/include/mach/omap7xx.h [deleted file]
arch/arm/plat-omap/include/mach/omap850.h [deleted file]
arch/arm/plat-omap/include/mach/omap_device.h [deleted file]
arch/arm/plat-omap/include/mach/omap_hwmod.h [deleted file]
arch/arm/plat-omap/include/mach/omapfb.h [deleted file]
arch/arm/plat-omap/include/mach/onenand.h [deleted file]
arch/arm/plat-omap/include/mach/param.h [deleted file]
arch/arm/plat-omap/include/mach/powerdomain.h [deleted file]
arch/arm/plat-omap/include/mach/prcm.h [deleted file]
arch/arm/plat-omap/include/mach/sdrc.h [deleted file]
arch/arm/plat-omap/include/mach/serial.h [deleted file]
arch/arm/plat-omap/include/mach/sram.h [deleted file]
arch/arm/plat-omap/include/mach/tc.h [deleted file]
arch/arm/plat-omap/include/mach/timer-gp.h [deleted file]
arch/arm/plat-omap/include/mach/usb.h [deleted file]
arch/arm/plat-omap/include/plat/blizzard.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/board-ams-delta.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/board-sx1.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/board-voiceblue.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/board.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/clock.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/clockdomain.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/common.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/control.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/cpu.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/dma.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/dmtimer.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/dsp_common.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/fpga.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/gpio-switch.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/gpmc-smc91x.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/gpmc.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/hardware.h
arch/arm/plat-omap/include/plat/hwa742.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/iommu.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/iommu2.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/iovmm.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/irda.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/keypad.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/lcd_mipid.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/led.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/mailbox.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/mcbsp.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/mcspi.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/menelaus.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/mmc.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/mux.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/nand.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/omap-alsa.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/omap-pm.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/omap1510.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/omap16xx.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/omap24xx.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/omap34xx.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/omap44xx.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/omap730.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/omap7xx.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/omap850.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/omap_device.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/omap_hwmod.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/omapfb.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/onenand.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/param.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/powerdomain.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/prcm.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/sdrc.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/serial.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/sram.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/system.h
arch/arm/plat-omap/include/plat/tc.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/timer-gp.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/uncompress.h
arch/arm/plat-omap/include/plat/usb.h [new file with mode: 0644]
arch/arm/plat-omap/io.c
arch/arm/plat-omap/iommu-debug.c
arch/arm/plat-omap/iommu.c
arch/arm/plat-omap/iovmm.c
arch/arm/plat-omap/mailbox.c
arch/arm/plat-omap/mcbsp.c
arch/arm/plat-omap/mux.c
arch/arm/plat-omap/omap-pm-noop.c
arch/arm/plat-omap/omap_device.c
arch/arm/plat-omap/sram.c
arch/arm/plat-omap/usb.c
drivers/input/keyboard/omap-keypad.c
drivers/leds/leds-ams-delta.c
drivers/mfd/menelaus.c
drivers/mfd/twl4030-core.c
drivers/mmc/host/omap.c
drivers/mmc/host/omap_hsmmc.c
drivers/mtd/maps/omap_nor.c
drivers/mtd/nand/ams-delta.c
drivers/mtd/nand/omap2.c
drivers/mtd/onenand/omap2.c
drivers/pcmcia/omap_cf.c
drivers/spi/omap2_mcspi.c
drivers/spi/omap_uwire.c
drivers/usb/gadget/omap_udc.c
drivers/usb/host/ohci-omap.c
drivers/usb/musb/omap2430.c
drivers/usb/musb/omap2430.h
drivers/usb/musb/tusb6010_omap.c
drivers/usb/otg/isp1301_omap.c
drivers/video/backlight/omap1_bl.c
drivers/video/omap/blizzard.c
drivers/video/omap/dispc.c
drivers/video/omap/hwa742.c
drivers/video/omap/lcd_2430sdp.c
drivers/video/omap/lcd_ams_delta.c
drivers/video/omap/lcd_apollon.c
drivers/video/omap/lcd_h3.c
drivers/video/omap/lcd_h4.c
drivers/video/omap/lcd_inn1510.c
drivers/video/omap/lcd_inn1610.c
drivers/video/omap/lcd_ldp.c
drivers/video/omap/lcd_mipid.c
drivers/video/omap/lcd_omap2evm.c
drivers/video/omap/lcd_omap3beagle.c
drivers/video/omap/lcd_omap3evm.c
drivers/video/omap/lcd_osk.c
drivers/video/omap/lcd_overo.c
drivers/video/omap/lcd_palmte.c
drivers/video/omap/lcd_palmtt.c
drivers/video/omap/lcd_palmz71.c
drivers/video/omap/lcdc.c
drivers/video/omap/omapfb_main.c
drivers/video/omap/rfbi.c
drivers/video/omap/sossi.c
drivers/watchdog/omap_wdt.c
sound/soc/omap/ams-delta.c
sound/soc/omap/n810.c
sound/soc/omap/omap-mcbsp.c
sound/soc/omap/omap-pcm.c
sound/soc/omap/omap2evm.c
sound/soc/omap/omap3beagle.c
sound/soc/omap/omap3evm.c
sound/soc/omap/osk5912.c
sound/soc/omap/overo.c
sound/soc/omap/sdp3430.c
sound/soc/omap/zoom2.c