diff options
author | David Lechner <dlechner@baylibre.com> | 2025-02-10 17:16:15 -0600 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-02-11 13:15:29 +0000 |
commit | ff4d4158ef9143327a42f7be4298751cb0d1be69 (patch) | |
tree | e438f881478edc0ee0bda2fc0f7e75e7f230d274 | |
parent | fcd7ace9a725ae034ff9f24cb94c9fe12a1f02da (diff) |
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>
-rw-r--r-- | drivers/spi/spi-offload-trigger-pwm.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/spi/spi-offload-trigger-pwm.c b/drivers/spi/spi-offload-trigger-pwm.c index b26d4437c589..805ed41560df 100644 --- a/drivers/spi/spi-offload-trigger-pwm.c +++ b/drivers/spi/spi-offload-trigger-pwm.c @@ -6,10 +6,17 @@ * Generic PWM trigger for SPI offload. */ +#include <linux/device.h> +#include <linux/err.h> +#include <linux/math.h> +#include <linux/mod_devicetable.h> +#include <linux/module.h> #include <linux/platform_device.h> +#include <linux/property.h> #include <linux/pwm.h> -#include <linux/mod_devicetable.h> #include <linux/spi/offload/provider.h> +#include <linux/spi/offload/types.h> +#include <linux/time.h> #include <linux/types.h> struct spi_offload_trigger_pwm_state { |