9778214990
xilinx_spi presently makes some fairly questionable assumptions about I/O routines, and attempts to assign ioread32/iowrite32 and friends directly to its own internal function pointers. On many platforms these I/O routines are macros or wrappers and not actual functions on their own, resulting in things like: ERROR: "ioread32be" [drivers/spi/xilinx_spi.ko] undefined! ERROR: "iowrite32be" [drivers/spi/xilinx_spi.ko] undefined! ERROR: "iowrite32" [drivers/spi/xilinx_spi.ko] undefined! ERROR: "ioread32" [drivers/spi/xilinx_spi.ko] undefined! If xilinx_spi wants to do this sort of casting, it needs to provide its own wrappers for these, or change how it does accesses completely. I've opted for the first approach, and the attached silly patch does that. If someone with the hardware available wants to give the second option a try that's ok too. In any event, the current code is broken for at least: arm, avr32, blackfin, microblaze, mn10300, and sh. Signed-off-by: Paul Mundt <lethal@linux-sh.org> Acked-by: Richard Röjfors <richard.rojfors@pelagicore.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca> |
||
---|---|---|
.. | ||
amba-pl022.c | ||
atmel_spi.c | ||
atmel_spi.h | ||
au1550_spi.c | ||
coldfire_qspi.c | ||
davinci_spi.c | ||
dw_spi_pci.c | ||
dw_spi.c | ||
Kconfig | ||
Makefile | ||
mpc52xx_psc_spi.c | ||
mpc52xx_spi.c | ||
omap2_mcspi.c | ||
omap_spi_100k.c | ||
omap_uwire.c | ||
orion_spi.c | ||
pxa2xx_spi.c | ||
spi_bfin5xx.c | ||
spi_bitbang.c | ||
spi_butterfly.c | ||
spi_gpio.c | ||
spi_imx.c | ||
spi_lm70llp.c | ||
spi_mpc8xxx.c | ||
spi_nuc900.c | ||
spi_ppc4xx.c | ||
spi_s3c24xx_fiq.h | ||
spi_s3c24xx_fiq.S | ||
spi_s3c24xx_gpio.c | ||
spi_s3c24xx.c | ||
spi_s3c64xx.c | ||
spi_sh_msiof.c | ||
spi_sh_sci.c | ||
spi_stmp.c | ||
spi_txx9.c | ||
spi.c | ||
spidev.c | ||
tle62x0.c | ||
xilinx_spi_of.c | ||
xilinx_spi_pltfm.c | ||
xilinx_spi.c | ||
xilinx_spi.h |