1. 21 10月, 2009 1 次提交
    • T
      omap: headers: Move remaining headers from include/mach to include/plat · ce491cf8
      Tony Lindgren 提交于
      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: NTony Lindgren <tony@atomide.com>
      ce491cf8
  2. 20 4月, 2009 1 次提交
  3. 03 12月, 2008 1 次提交
  4. 21 11月, 2008 2 次提交
    • M
      ASoC: Merge snd_soc_ops into snd_soc_dai_ops · dee89c4d
      Mark Brown 提交于
      Liam Girdwood's ASoC v2 work avoids having two different ops structures
      for DAIs by merging the members of struct snd_soc_ops into struct
      snd_soc_dai_ops, allowing per DAI configuration for everything.
      Backport this change.
      
      This paves the way for future work allowing any combination of DAIs to
      be connected rather than having fixed purpose CODEC and CPU DAIs and
      only allowing CODEC<->CPU interconnections.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      dee89c4d
    • M
      ASoC: Rename snd_soc_card to snd_soc_machine · 87506549
      Mark Brown 提交于
      One of the issues with the ASoC v1 API which has been addressed in the
      ASoC v2 work that Liam Girdwood has done is that the ALSA card provided
      by ASoC is distributed around the ASoC structures. For example, machine
      wide data such as the struct snd_card are maintained as part of the
      CODEC data structure, preventing the use of multiple codecs. This has
      been addressed by refactoring the data structures so that all the data
      for the ALSA card is contained in a single structure snd_soc_card which
      replaces the existing snd_soc_machine and snd_soc_device.
      
      Begin the process of backporting this by renaming struct snd_soc_machine
      to struct snd_soc_card, better reflecting its function and bringing it
      closer to standard ALSA terminology.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      87506549
  5. 19 11月, 2008 1 次提交
  6. 31 10月, 2008 1 次提交