]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: audio_manager: add missing header
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 3 Feb 2016 11:53:40 +0000 (12:53 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 3 Feb 2016 18:38:54 +0000 (10:38 -0800)
commitec413566e819ad19be929ab38d2b5911cbf096c2
treea5bf10b1535bd42befecbc3bc272f89219688857
parent3994e0b139c709047cdeb44b6c28cfb39f89f3f2
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>
drivers/staging/greybus/audio_manager.c