From: Andy Shevchenko Date: Thu, 17 Nov 2022 11:08:02 +0000 (+0200) Subject: pwm: lpss: Include headers we are the direct user of X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=878cf979c1458f835d436debb886f9dfff59012a;p=linux.git pwm: lpss: Include headers we are the direct user of For the sake of integrity, include headers we are the direct user of. Replace the inclusion of device.h by a forward declaration of struct device plus a (cheaper) of types.h as device.h is an expensive include (measured in compiler effort). Signed-off-by: Andy Shevchenko Acked-by: Thierry Reding Reviewed-by: Mika Westerberg Reviewed-by: Hans de Goede Acked-by: Uwe Kleine-König --- diff --git a/drivers/pwm/pwm-lpss.h b/drivers/pwm/pwm-lpss.h index 2c746c51b8831..4ce6daa46ca8c 100644 --- a/drivers/pwm/pwm-lpss.h +++ b/drivers/pwm/pwm-lpss.h @@ -10,8 +10,10 @@ #ifndef __PWM_LPSS_H #define __PWM_LPSS_H -#include #include +#include + +struct device; #define LPSS_MAX_PWMS 4