9f19d63828
As well as moving all the device declarations to a single one in devices.c this causes all platforms to register the I/O and interrupt resources for the AC97 controller. Cc: eric miao <eric.miao@marvell.com> Cc: Mike Rapoport <mike@compulab.co.il> Cc: Lennert Buytenhek <buytenh@wantstofly.org> Cc: Jürgen Schindele <linux@schindele.name> Cc: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 lines
383 B
C
18 lines
383 B
C
#ifndef __ASM_ARCH_AUDIO_H__
|
|
#define __ASM_ARCH_AUDIO_H__
|
|
|
|
#include <sound/core.h>
|
|
#include <sound/pcm.h>
|
|
|
|
typedef struct {
|
|
int (*startup)(struct snd_pcm_substream *, void *);
|
|
void (*shutdown)(struct snd_pcm_substream *, void *);
|
|
void (*suspend)(void *);
|
|
void (*resume)(void *);
|
|
void *priv;
|
|
} pxa2xx_audio_ops_t;
|
|
|
|
extern void pxa_set_ac97_info(pxa2xx_audio_ops_t *ops);
|
|
|
|
#endif
|