]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: madera: Replace kernel.h with the necessary inclusions
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 3 Jun 2022 17:07:07 +0000 (20:07 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 5 Jul 2022 12:00:49 +0000 (13:00 +0100)
When kernel.h is used in the headers it adds a lot into dependency hell,
especially when there are circular dependencies are involved.

Replace kernel.h inclusion with the list of what is really being used.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220603170707.48728-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/madera-pdata.h

index e3060f48f10819d95238e92842742b844ce31975..58398d80c3de32c37caea0b4ed304039cc8ad87c 100644 (file)
@@ -9,7 +9,7 @@
 #ifndef MADERA_CODEC_PDATA_H
 #define MADERA_CODEC_PDATA_H
 
-#include <linux/kernel.h>
+#include <linux/types.h>
 
 #define MADERA_MAX_INPUT               6
 #define MADERA_MAX_MUXED_CHANNELS      4