aboutsummaryrefslogtreecommitdiff
path: root/include/linux/spi
diff options
context:
space:
mode:
authorAndy Shevchenko2021-04-23 21:24:31 +0300
committerMark Brown2021-05-10 13:17:12 +0100
commit0e4768713e71dd224633fd7e00ad358bc48f433a (patch)
tree76b7c723e49a142481c3b0e0a1621441d7b249f5 /include/linux/spi
parentc3dce24c40cc7cd07deca5b81b763eae66f30856 (diff)
spi: pxa2xx: Replace header inclusions by forward declarations
When the data structure is only referred by pointer, compiler may not need to see the contents of the data type. Thus, we may replace header inclusions by respective forward declarations. Due to above add missed headers as well. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20210423182441.50272-5-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/spi')
-rw-r--r--include/linux/spi/pxa2xx_spi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/spi/pxa2xx_spi.h b/include/linux/spi/pxa2xx_spi.h
index 31f00c7f4f59..1e0e2f136319 100644
--- a/include/linux/spi/pxa2xx_spi.h
+++ b/include/linux/spi/pxa2xx_spi.h
@@ -5,6 +5,8 @@
#ifndef __linux_pxa2xx_spi_h
#define __linux_pxa2xx_spi_h
+#include <linux/types.h>
+
#include <linux/pxa2xx_ssp.h>
#define PXA2XX_CS_ASSERT (0x01)