WSL2-Linux-Kernel/drivers/spi
Anton Vorontsov 56825c88ff powerpc/cpm: Reintroduce global spi_pram struct (fixes build issue)
spi_t was removed in commit 644b2a680c
("powerpc/cpm: Remove SPI defines and spi structs"), the commit assumed
that spi_t isn't used anywhere outside of the spi_mpc8xxx driver. But
it appears that the struct is needed for micropatch code. So, let's
reintroduce the struct.

Fixes the following build issue:

    CC      arch/powerpc/sysdev/micropatch.o
  micropatch.c: In function 'cpm_load_patch':
  micropatch.c:629: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  micropatch.c:629: error: 'spp' undeclared (first use in this function)
  micropatch.c:629: error: (Each undeclared identifier is reported only once
  micropatch.c:629: error: for each function it appears in.)

Reported-by: LEROY Christophe <christophe.leroy@c-s.fr>
Reported-by: Tony Breeds <tony@bakeyournoodle.com>
Cc: <stable@kernel.org> [ .33, .34 ]
Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-07-11 11:03:22 -05:00
..
Kconfig Merge remote branch 'origin' into secretlab/next-spi 2010-05-25 00:38:26 -06:00
Makefile spi/mpc5121: Add SPI master driver for MPC5121 PSC 2010-05-25 00:23:17 -06:00
amba-pl022.c spi/pl022: fix stop queue procedure 2010-05-25 00:23:14 -06:00
atmel_spi.c
atmel_spi.h
au1550_spi.c
coldfire_qspi.c
davinci_spi.c spi/davinci: Fix clock prescale factor computation 2010-05-25 00:23:54 -06:00
dw_spi.c
dw_spi_mmio.c
dw_spi_pci.c
ep93xx_spi.c spi/ep93xx: implemented driver for Cirrus EP93xx SPI controller 2010-05-25 00:23:16 -06:00
mpc52xx_psc_spi.c
mpc52xx_spi.c
mpc512x_psc_spi.c of/spi: mpc512x_psc_spi.c: Fix build failures 2010-06-02 13:45:06 -06:00
omap2_mcspi.c spi/omap2_mcspi: Check params before dereference or use 2010-05-25 00:23:15 -06:00
omap_spi_100k.c
omap_uwire.c
orion_spi.c
pxa2xx_spi.c
spi.c
spi_bfin5xx.c
spi_bitbang.c
spi_bitbang_txrx.h spi: move bitbang txrx utility functions to private header 2010-05-25 00:23:17 -06:00
spi_butterfly.c spi: move bitbang txrx utility functions to private header 2010-05-25 00:23:17 -06:00
spi_gpio.c spi: move bitbang txrx utility functions to private header 2010-05-25 00:23:17 -06:00
spi_imx.c
spi_lm70llp.c spi: move bitbang txrx utility functions to private header 2010-05-25 00:23:17 -06:00
spi_mpc8xxx.c powerpc/cpm: Reintroduce global spi_pram struct (fixes build issue) 2010-07-11 11:03:22 -05:00
spi_nuc900.c
spi_ppc4xx.c of/spi: Fix build failure on spi_ppc4xx.c 2010-06-02 13:38:33 -06:00
spi_s3c24xx.c
spi_s3c24xx_fiq.S
spi_s3c24xx_fiq.h
spi_s3c24xx_gpio.c spi: move bitbang txrx utility functions to private header 2010-05-25 00:23:17 -06:00
spi_s3c64xx.c
spi_sh_msiof.c
spi_sh_sci.c spi: move bitbang txrx utility functions to private header 2010-05-25 00:23:17 -06:00
spi_stmp.c
spi_txx9.c
spidev.c
tle62x0.c
xilinx_spi.c
xilinx_spi.h
xilinx_spi_of.c spi/xilinx: Fix compile error 2010-05-25 00:48:24 -06:00
xilinx_spi_pltfm.c