Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

pwm: lpss: Only include <linux/pwm.h> where needed

Among the three files that include pwm-lpss.h only pwm-lpss.c actually
needs <linux/pwm.h>. So move the #include statement from the former to
the latter.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20250123103939.357160-2-u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>

authored by

Uwe Kleine-König and committed by
Uwe Kleine-König
444053e3 2014c95a

+1 -1
+1
drivers/pwm/pwm-lpss.c
··· 17 17 #include <linux/kernel.h> 18 18 #include <linux/module.h> 19 19 #include <linux/pm_runtime.h> 20 + #include <linux/pwm.h> 20 21 #include <linux/time.h> 21 22 22 23 #define DEFAULT_SYMBOL_NAMESPACE "PWM_LPSS"
-1
drivers/pwm/pwm-lpss.h
··· 10 10 #ifndef __PWM_LPSS_H 11 11 #define __PWM_LPSS_H 12 12 13 - #include <linux/pwm.h> 14 13 #include <linux/types.h> 15 14 16 15 #include <linux/platform_data/x86/pwm-lpss.h>