From: Bard liao Date: Tue, 6 Aug 2019 00:55:12 +0000 (-0500) Subject: soundwire: include mod_devicetable.h to avoid compiling warnings X-Git-Tag: v5.15~5452^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce3304d8da8fa8e20001ed6128c7d04f703be305;p=platform%2Fkernel%2Flinux-starfive.git soundwire: include mod_devicetable.h to avoid compiling warnings When integrating SoundWire, kbuild throws this warning with randconfig: >> include/linux/soundwire/sdw.h:571:17: warning: 'struct sdw_device_id' declared inside parameter list will not be visible outside of this definition or declaration const struct sdw_device_id *id); ^~~~~~~~~~~~~ Fix by adding the relevant include Reported-by: kbuild test robot Signed-off-by: Bard liao Signed-off-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20190806005522.22642-8-pierre-louis.bossart@linux.intel.com Signed-off-by: Vinod Koul --- diff --git a/include/linux/soundwire/sdw.h b/include/linux/soundwire/sdw.h index bea46bd8b6ce..28b5ab0d868c 100644 --- a/include/linux/soundwire/sdw.h +++ b/include/linux/soundwire/sdw.h @@ -4,6 +4,8 @@ #ifndef __SOUNDWIRE_H #define __SOUNDWIRE_H +#include + struct sdw_bus; struct sdw_slave;