linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/3] spi: pxa2xx: Update header block in pxa2xx_ssp.h
@ 2020-08-26 15:14 Andy Shevchenko
  2020-08-26 15:14 ` [PATCH v1 2/3] spi: pxa2xx: Switch to use BIT() and GENMASK() " Andy Shevchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andy Shevchenko @ 2020-08-26 15:14 UTC (permalink / raw)
  To: linux-spi, broonie; +Cc: Andy Shevchenko

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 --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
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-26 19:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-26 15:14 [PATCH v1 1/3] spi: pxa2xx: Update header block in pxa2xx_ssp.h Andy Shevchenko
2020-08-26 15:14 ` [PATCH v1 2/3] spi: pxa2xx: Switch to use BIT() and GENMASK() " Andy Shevchenko
2020-08-26 15:14 ` [PATCH v1 3/3] spi: pxa2xx: Drop useless comment in the pxa2xx_ssp.h Andy Shevchenko
2020-08-26 19:17 ` [PATCH v1 1/3] spi: pxa2xx: Update header block in pxa2xx_ssp.h Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).