linux/drivers/spi
Arnaud Patard (Rtp 6c912a3d33 [PATCH] spi_s3c24xx.c: warning fix
The set_cs field of struct s3c24xx_spi is declared as returning a int but
the value returned but set_cs is never fixed.  Moreover, the default
function for set_cs and the set_cs defintion in the platform data are
returning void.

I'm proposing to change the prototype to void (*set_cs)(...). By doing
this, I'm also fixing 2 build warnings:

  drivers/spi/spi_s3c24xx.c: In function 's3c24xx_spi_probe':
  drivers/spi/spi_s3c24xx.c:330: warning: assignment from incompatible pointer type
  drivers/spi/spi_s3c24xx.c:335: warning: assignment from incompatible pointer type

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-16 19:25:06 -07:00
..
Kconfig [PATCH] SPI: atmel_spi driver 2007-02-14 08:09:53 -08:00
Makefile [PATCH] SPI: atmel_spi driver 2007-02-14 08:09:53 -08:00
at25.c [PATCH] SPI: at25: do not use pointer before assignment 2007-03-16 19:25:05 -07:00
atmel_spi.c [PATCH] gpio_direction_output() needs an initial value 2007-03-16 19:25:04 -07:00
atmel_spi.h [PATCH] SPI: atmel_spi driver 2007-02-14 08:09:53 -08:00
omap_uwire.c [PATCH] SPI controller build/warning fixes 2007-02-20 17:10:16 -08:00
pxa2xx_spi.c [PATCH] SPI cleanup() method param becomes non-const 2007-02-12 09:48:31 -08:00
spi.c [PATCH] SPI cleanup() method param becomes non-const 2007-02-12 09:48:31 -08:00
spi_bitbang.c [PATCH] spi: destroy workqueue after spi_unregister_master 2007-03-16 19:25:04 -07:00
spi_butterfly.c Revert "Driver core: convert SPI code to use struct device" 2007-02-07 21:34:08 -08:00
spi_imx.c [PATCH] SPI controller build/warning fixes 2007-02-20 17:10:16 -08:00
spi_mpc83xx.c [PATCH] SPI: define null tx_buf to mean "shift out zeroes" 2006-12-30 10:56:42 -08:00
spi_s3c24xx.c [PATCH] spi_s3c24xx.c: warning fix 2007-03-16 19:25:06 -07:00
spi_s3c24xx_gpio.c [PATCH] spi_s3c2410_gpio.c spi mode 2 and 3 support 2007-02-20 17:10:16 -08:00