mirror of https://github.com/torvalds/linux.git
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>
This commit is contained in:
parent
2014c95afe
commit
444053e3c4
|
|
@ -17,6 +17,7 @@
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/pm_runtime.h>
|
#include <linux/pm_runtime.h>
|
||||||
|
#include <linux/pwm.h>
|
||||||
#include <linux/time.h>
|
#include <linux/time.h>
|
||||||
|
|
||||||
#define DEFAULT_SYMBOL_NAMESPACE "PWM_LPSS"
|
#define DEFAULT_SYMBOL_NAMESPACE "PWM_LPSS"
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@
|
||||||
#ifndef __PWM_LPSS_H
|
#ifndef __PWM_LPSS_H
|
||||||
#define __PWM_LPSS_H
|
#define __PWM_LPSS_H
|
||||||
|
|
||||||
#include <linux/pwm.h>
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
#include <linux/platform_data/x86/pwm-lpss.h>
|
#include <linux/platform_data/x86/pwm-lpss.h>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue