]> git.baikalelectronics.ru Git - kernel.git/commit
spi: pxa2xx: Replace header inclusions by forward declarations
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 23 Apr 2021 18:24:31 +0000 (21:24 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 10 May 2021 12:17:12 +0000 (13:17 +0100)
commitfcb88b5d3f93cf3a2e8e0b698802caa724e2f705
tree76b7c723e49a142481c3b0e0a1621441d7b249f5
parentf823ee7b3afc1cd5093db71eb90aac391eeef9b6
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>
drivers/spi/spi-pxa2xx-dma.c
drivers/spi/spi-pxa2xx-pci.c
drivers/spi/spi-pxa2xx.c
drivers/spi/spi-pxa2xx.h
include/linux/spi/pxa2xx_spi.h