projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfa76d4
)
hdspm.h: include stdint.h in userspace
author
Mikko Rapeli
<mikko.rapeli@iki.fi>
Mon, 16 Feb 2015 23:05:27 +0000
(
00:05
+0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 17 Feb 2015 06:43:25 +0000
(07:43 +0100)
Fixes compilation error:
sound/hdspm.h:43:2: error: unknown type name ‘uint32_t’
Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/uapi/sound/hdspm.h
patch
|
blob
|
blame
|
history
diff --git
a/include/uapi/sound/hdspm.h
b/include/uapi/sound/hdspm.h
index b357f1a5e29cfa0610fb5ba88b3d2cd5ff355b7b..5737332d38f2cea1f8c2f47f14e9d01282c87a52 100644
(file)
--- a/
include/uapi/sound/hdspm.h
+++ b/
include/uapi/sound/hdspm.h
@@
-20,6
+20,12
@@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#ifdef __KERNEL__
+#include <linux/types.h>
+#else
+#include <stdint.h>
+#endif
+
/* Maximum channels is 64 even on 56Mode you have 64playbacks to matrix */
#define HDSPM_MAX_CHANNELS 64