topology: remove little endian type from userspace header

Use a generic uint64_t for formats instead of an ABI endian specific
__le64 type.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Liam Girdwood 2015-11-06 14:57:17 +00:00 committed by Jaroslav Kysela
parent 93b420b9e2
commit 7eb683ee39

View file

@ -21,6 +21,8 @@
#ifndef __ALSA_TOPOLOGY_H #ifndef __ALSA_TOPOLOGY_H
#define __ALSA_TOPOLOGY_H #define __ALSA_TOPOLOGY_H
#include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -665,7 +667,7 @@ struct snd_tplg_stream_template {
*/ */
struct snd_tplg_stream_caps_template { struct snd_tplg_stream_caps_template {
const char *name; /*!< name of the stream caps */ const char *name; /*!< name of the stream caps */
__le64 formats; /*!< supported formats SNDRV_PCM_FMTBIT_* */ uint64_t formats; /*!< supported formats SNDRV_PCM_FMTBIT_* */
unsigned int rates; /*!< supported rates SNDRV_PCM_RATE_* */ unsigned int rates; /*!< supported rates SNDRV_PCM_RATE_* */
unsigned int rate_min; /*!< min rate */ unsigned int rate_min; /*!< min rate */
unsigned int rate_max; /*!< max rate */ unsigned int rate_max; /*!< max rate */