[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20250210-spi-offload-extra-headers-v1-2-0f3356362254@baylibre.com>
Date: Mon, 10 Feb 2025 17:16:15 -0600
From: David Lechner <dlechner@...libre.com>
To: Mark Brown <broonie@...nel.org>
Cc: linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org,
David Lechner <dlechner@...libre.com>,
Andy Shevchenko <andriy.shevchenko@...el.com>
Subject: [PATCH 2/2] 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@...el.com>
Signed-off-by: David Lechner <dlechner@...libre.com>
---
drivers/spi/spi-offload-trigger-pwm.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/spi/spi-offload-trigger-pwm.c b/drivers/spi/spi-offload-trigger-pwm.c
index b26d4437c589052709a8206f8314ffd08355870e..805ed41560df090d85a8547b59f122cf2e3941a2 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 {
--
2.43.0
Powered by blists - more mailing lists