From: Liam Girdwood Date: Fri, 6 Nov 2015 14:57:17 +0000 (+0000) Subject: topology: remove little endian type from userspace header X-Git-Tag: v1.1.0~2 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=7eb683ee39173b724054b28dcf7d6ae76e150539;p=alsa-lib.git 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 Signed-off-by: Takashi Iwai --- diff --git a/include/topology.h b/include/topology.h index b631871e..993537c0 100644 --- a/include/topology.h +++ b/include/topology.h @@ -21,6 +21,8 @@ #ifndef __ALSA_TOPOLOGY_H #define __ALSA_TOPOLOGY_H +#include + #ifdef __cplusplus extern "C" { #endif @@ -665,7 +667,7 @@ struct snd_tplg_stream_template { */ struct snd_tplg_stream_caps_template { 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 rate_min; /*!< min rate */ unsigned int rate_max; /*!< max rate */