diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2016-02-03 12:53:40 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-02-03 10:38:54 -0800 |
commit | ec413566e819ad19be929ab38d2b5911cbf096c2 (patch) | |
tree | a5bf10b1535bd42befecbc3bc272f89219688857 /drivers | |
parent | 3994e0b139c709047cdeb44b6c28cfb39f89f3f2 (diff) |
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 <bgolaszewski@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/greybus/audio_manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <linux/module.h> #include <linux/init.h> #include <linux/rwlock.h> +#include <linux/idr.h> #include "audio_manager.h" #include "audio_manager_private.h" |