dsa: Platform data shan't include kernel.h
PATCH 1/1 dsa: Platform data shan't include kernel.h
Replace with appropriate types.h.
Signed-off-by Andy Shevchenko <[email protected]>
--- include/linux/platform_data/microchip-ksz.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/platform_data/microchip-ksz.h +1 -1
@@ -19,7 +19,7 @@ #ifndef __MICROCHIP_KSZ_H #define __MICROCHIP_KSZ_H -#include <linux/kernel.h> +#include <linux/types.h> struct ksz_platform_data { u32 chip_id;
Signature · 1 line
2.24.1
Quoted 3 lines · Andy Shevchenko
Replace with appropriate
types.h.Signed-off-by Andy Shevchenko <[email protected]>
The subject should be prefixed with "net: dsa: microchip: ", with that:
Reviewed-by Florian Fainelli <[email protected]>
Signature · 1 line
Florian