From ec413566e819ad19be929ab38d2b5911cbf096c2 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Wed, 3 Feb 2016 12:53:40 +0100 Subject: [PATCH] greybus: audio_manager: add missing header There's a definition missing in audio_manager causing the kernel build to fail: CC [M] ./greybus/audio_manager.o ./greybus/audio_manager.c:22:8: warning: type defaults to 'int' in declaration of 'DEFINE_IDA' [-Wimplicit-int] error, forbidden warning: audio_manager.c:22 ./kernel/scripts/Makefile.build:308: recipe for target './greybus/audio_manager.o' failed Including linux/idr.h fixes the issue. Signed-off-by: Bartosz Golaszewski Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/audio_manager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/greybus/audio_manager.c b/drivers/staging/greybus/audio_manager.c index 05af441be162..bc5be4907c81 100644 --- a/drivers/staging/greybus/audio_manager.c +++ b/drivers/staging/greybus/audio_manager.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "audio_manager.h" #include "audio_manager_private.h" -- 2.20.1