pxa2xx_spi: fix build breakage
authorMike Rapoport <mike@compulab.co.il>
Wed, 1 Oct 2008 17:39:24 +0000 (10:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Oct 2008 19:31:12 +0000 (12:31 -0700)
commit20b918dc77b383e9779dafceee3f2198a6f7b0e5
tree2a0ec10b50c5eece45b8d6ba6ce267b19c705b5b
parentedfd222fc54664b789cec01e78d442ce9461e79b
pxa2xx_spi: fix build breakage

This patch fixes a build error in the pxa2xx-spi driver,
introduced by commit 7e96445533ac3f4f7964646a202ff3620602fab4
("pxa2xx_spi: dma bugfixes")

  CC      drivers/spi/pxa2xx_spi.o
drivers/spi/pxa2xx_spi.c: In function 'map_dma_buffers':
drivers/spi/pxa2xx_spi.c:331: error: invalid operands to binary &
drivers/spi/pxa2xx_spi.c:331: error: invalid operands to binary &
drivers/spi/pxa2xx_spi.c: In function 'pump_transfers':
drivers/spi/pxa2xx_spi.c:897: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'unsigned int'

[dbrownell@users.sourceforge.net: fix warning too ]

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/pxa2xx_spi.c