Skip to content

Commit 444053e

Browse files
ukleinekUwe Kleine-König
authored andcommitted
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 <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Uwe Kleine-König <[email protected]>
1 parent 2014c95 commit 444053e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

drivers/pwm/pwm-lpss.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <linux/kernel.h>
1818
#include <linux/module.h>
1919
#include <linux/pm_runtime.h>
20+
#include <linux/pwm.h>
2021
#include <linux/time.h>
2122

2223
#define DEFAULT_SYMBOL_NAMESPACE "PWM_LPSS"

drivers/pwm/pwm-lpss.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#ifndef __PWM_LPSS_H
1111
#define __PWM_LPSS_H
1212

13-
#include <linux/pwm.h>
1413
#include <linux/types.h>
1514

1615
#include <linux/platform_data/x86/pwm-lpss.h>

0 commit comments

Comments
 (0)