forked from Minki/linux
45fce59496
The platform data structure contains information which is used only by the driver, and the driver allocates platform information fields which are of no use. Move the driver specific data to a new private structure and cleanup the platform data structure. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@linaro.org>
35 lines
735 B
C
35 lines
735 B
C
/*
|
|
* ASoC simple sound card support
|
|
*
|
|
* Copyright (C) 2012 Renesas Solutions Corp.
|
|
* Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __SIMPLE_CARD_H
|
|
#define __SIMPLE_CARD_H
|
|
|
|
#include <sound/soc.h>
|
|
|
|
struct asoc_simple_dai {
|
|
const char *name;
|
|
unsigned int fmt;
|
|
unsigned int sysclk;
|
|
};
|
|
|
|
struct asoc_simple_card_info {
|
|
const char *name;
|
|
const char *card;
|
|
const char *codec;
|
|
const char *platform;
|
|
|
|
unsigned int daifmt;
|
|
struct asoc_simple_dai cpu_dai;
|
|
struct asoc_simple_dai codec_dai;
|
|
};
|
|
|
|
#endif /* __SIMPLE_CARD_H */
|