From: Bartosz Golaszewski Date: Wed, 3 Feb 2016 11:53:40 +0000 (+0100) Subject: greybus: audio_manager: add missing header X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~728 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=ec413566e819ad19be929ab38d2b5911cbf096c2;p=linux.git 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 --- 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"