spi: sh-msiof: Move default FIFO sizes to device ID data
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Tue, 25 Feb 2014 10:21:09 +0000 (11:21 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 27 Feb 2014 10:43:27 +0000 (19:43 +0900)
commit50a7e23f53677918bf521b09ce9bb20fb87cd175
tree732a8bda0103960b5b809ccb02ff3db1af0e0b54
parent32d3b2d1ddeafe105ab6f738fba427242141194e
spi: sh-msiof: Move default FIFO sizes to device ID data

As different variants of MSIOF have different FIFO sizes, move the default
FIFO sizes to a new struct sh_msiof_chipdata, pointed to from the device
ID data.

[Moved ifdef to fix build -- broonie]

Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-sh-msiof.c