Skip to content

Commit 6820533

Browse files
dlechnunojsa
authored andcommitted
spi: spi-offload-trigger-pwm: add extra headers
Add additional headers used in this driver. This is better than relying on implicit includes via other unrelated headers. Also sort the existing includes while doing so. Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20250210-spi-offload-extra-headers-v1-2-0f3356362254@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 4017925 commit 6820533

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

drivers/spi/spi-offload-trigger-pwm.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,17 @@
66
* Generic PWM trigger for SPI offload.
77
*/
88

9+
#include <linux/device.h>
10+
#include <linux/err.h>
11+
#include <linux/math.h>
12+
#include <linux/mod_devicetable.h>
13+
#include <linux/module.h>
914
#include <linux/platform_device.h>
15+
#include <linux/property.h>
1016
#include <linux/pwm.h>
11-
#include <linux/mod_devicetable.h>
1217
#include <linux/spi/offload/provider.h>
18+
#include <linux/spi/offload/types.h>
19+
#include <linux/time.h>
1320
#include <linux/types.h>
1421

1522
struct spi_offload_trigger_pwm_state {

0 commit comments

Comments
 (0)