diff mbox series

[v1,1/3] spi: pxa2xx: Update header block in pxa2xx_ssp.h

Message ID 20200826151455.55970-1-andriy.shevchenko@linux.intel.com
State Accepted
Commit e7aaf8748897d88fd1d17bfa461df84cf233d5a9
Headers show
Series [v1,1/3] spi: pxa2xx: Update header block in pxa2xx_ssp.h | expand

Commit Message

Andy Shevchenko Aug. 26, 2020, 3:14 p.m. UTC
We have direct users of some headers that are missed and
have header included when forward declarations are enough.

Update header block in pxa2xx_ssp.h to align with actual usage.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 include/linux/pxa2xx_ssp.h | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/include/linux/pxa2xx_ssp.h b/include/linux/pxa2xx_ssp.h
index 6facf27865f9..f139e049e52e 100644
--- a/include/linux/pxa2xx_ssp.h
+++ b/include/linux/pxa2xx_ssp.h
@@ -16,10 +16,15 @@ 
 #ifndef __LINUX_SSP_H
 #define __LINUX_SSP_H
 
-#include <linux/list.h>
+#include <linux/compiler_types.h>
 #include <linux/io.h>
-#include <linux/of.h>
+#include <linux/kconfig.h>
+#include <linux/list.h>
+#include <linux/types.h>
 
+struct clk;
+struct device;
+struct device_node;
 
 /*
  * SSP Serial Port Registers