ASoC: madera: Replace kernel.h with the necessary inclusions
Subsystems (3)
PATCH 1/1 ASoC: madera: Replace kernel.h with the necessary inclusions
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 <[email protected]>
--- include/sound/madera-pdata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/sound/madera-pdata.h +1 -1
@@ -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
Signature · 1 line
2.34.1
Quoted 7 lines · Andy Shevchenko
When
kernel.his used in the headers it adds a lot into dependency hell, especially when there are circular dependencies are involved.Replace
kernel.hinclusion with the list of what is really being used.Signed-off-by Andy Shevchenko <[email protected]>---
Acked-by Charles Keepax <[email protected]>
Thanks,
Charles
Quoted 7 lines · Charles Keepax
Quoted 4 lines · Andy Shevchenko
When
kernel.his used in the headers it adds a lot into dependency hell, especially when there are circular dependencies are involved.Replace
kernel.hinclusion with the list of what is really being used.Acked-by Charles Keepax <[email protected]>
Thanks!
Takashi, should I resend this?
Signature · 2 lines
With Best Regards, Andy Shevchenko