aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/omap_uwire.c
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-02-20 16:58:19 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-20 20:10:16 -0500
commitbb2d1c36c7f3a78d482622289c8de0c1a5fe790f (patch)
tree1bb4dc9b173f500b4a130c05eae8ad080699597a /drivers/spi/omap_uwire.c
parent0bb92e6cd313cf209ea0c164952d1f65c5b3ea46 (diff)
[PATCH] SPI controller build/warning fixes
The signature of the per-device cleanup() routine changed to remove its const-ness. Three new SPI controller drivers now need that change, to eliminate build warnings. This also fixes a build bug with atmel_spi on AT91 systems. 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>
Diffstat (limited to 'drivers/spi/omap_uwire.c')
-rw-r--r--drivers/spi/omap_uwire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/omap_uwire.c b/drivers/spi/omap_uwire.c
index 366af4959a0f..96f62b2df300 100644
--- a/drivers/spi/omap_uwire.c
+++ b/drivers/spi/omap_uwire.c
@@ -459,7 +459,7 @@ static int uwire_setup(struct spi_device *spi)
459 return uwire_setup_transfer(spi, NULL); 459 return uwire_setup_transfer(spi, NULL);
460} 460}
461 461
462static void uwire_cleanup(const struct spi_device *spi) 462static void uwire_cleanup(struct spi_device *spi)
463{ 463{
464 kfree(spi->controller_state); 464 kfree(spi->controller_state);
465} 465}