All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Convert omap-alsa-sx1.c to new struct format
@ 2007-05-19 14:51 Dirk Behme
  0 siblings, 0 replies; only message in thread
From: Dirk Behme @ 2007-05-19 14:51 UTC (permalink / raw)
  To: linux-omap-open-source

[-- Attachment #1: Type: text/plain, Size: 133 bytes --]


Convert omap-alsa-sx1.c to new struct format to make this file compile 
again.

Signed-off-by: Dirk Behme <dirk.behme@gmail.com>




[-- Attachment #2: fix_omap_alsa_sx1.txt --]
[-- Type: text/plain, Size: 1166 bytes --]

Index: linux-osk/sound/arm/omap/omap-alsa-sx1.c
===================================================================
--- linux-osk.orig/sound/arm/omap/omap-alsa-sx1.c
+++ linux-osk/sound/arm/omap/omap-alsa-sx1.c
@@ -82,13 +82,13 @@ static unsigned int rates[] = {
 	 32000, 44100, 48000,
 };
 
-static snd_pcm_hw_constraint_list_t egold_hw_constraints_rates = {
+static struct snd_pcm_hw_constraint_list egold_hw_constraints_rates = {
 	.count	= ARRAY_SIZE(rates),
 	.list	= rates,
 	.mask	= 0,
 };
 
-static snd_pcm_hardware_t egold_snd_omap_alsa_playback = {
+static struct snd_pcm_hardware egold_snd_omap_alsa_playback = {
 	.info = (SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BLOCK_TRANSFER |
 		 SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID),
 	.formats = (SNDRV_PCM_FMTBIT_S16_LE),
@@ -109,7 +109,7 @@ static snd_pcm_hardware_t egold_snd_omap
 	.fifo_size		= 0,
 };
 
-static snd_pcm_hardware_t egold_snd_omap_alsa_capture = {
+static struct snd_pcm_hardware egold_snd_omap_alsa_capture = {
 	.info = (SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BLOCK_TRANSFER |
 		 SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID),
 	.formats = (SNDRV_PCM_FMTBIT_S16_LE),

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-19 14:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-19 14:51 [PATCH] ARM: OMAP: Convert omap-alsa-sx1.c to new struct format Dirk Behme

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.