summaryrefslogtreecommitdiff
path: root/drivers/spi/spi_butterfly.c
diff options
context:
space:
mode:
authorBen Dooks <ben@trinity.fluff.org>2006-05-21 02:00:17 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-05-21 23:59:19 +0400
commit1fc7547d4bfe5c8c8c79e196b955b6fbaa21bfd2 (patch)
tree1a08d571dbbd64a4585f2e486aa87ad1005a37f7 /drivers/spi/spi_butterfly.c
parent1b81d6637d27a0e6a0506ecef65493b50d859cfc (diff)
downloadlinux-1fc7547d4bfe5c8c8c79e196b955b6fbaa21bfd2.tar.xz
[PATCH] S3C24XX: GPIO based SPI driver
SPI driver for SPI by GPIO on the Samsung S3C24XX series of SoC processors. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Cc: Greg KH <greg@kroah.com> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/spi/spi_butterfly.c')
-rw-r--r--drivers/spi/spi_butterfly.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi_butterfly.c b/drivers/spi/spi_butterfly.c
index ff9e5faa4dc9..a006a1ee27ac 100644
--- a/drivers/spi/spi_butterfly.c
+++ b/drivers/spi/spi_butterfly.c
@@ -321,6 +321,7 @@ static void butterfly_attach(struct parport *p)
* (firmware resets at45, acts as spi slave) or neither (we ignore
* both, AVR uses AT45). Here we expect firmware for the first option.
*/
+
pp->info[0].max_speed_hz = 15 * 1000 * 1000;
strcpy(pp->info[0].modalias, "mtd_dataflash");
pp->info[0].platform_data = &flash;