r1032 - trunk/src/target/kernel/patches
laforge at sita.openmoko.org
laforge at sita.openmoko.org
Sat Feb 17 14:18:42 CET 2007
Author: laforge
Date: 2007-02-17 14:18:42 +0100 (Sat, 17 Feb 2007)
New Revision: 1032
Modified:
trunk/src/target/kernel/patches/gta01-jbt6k74.patch
Log:
The .bus field of the spi driver is initialised
when you register the driver with the spi system
Signed-off-by: Ben Dooks <ben-linux at fluff.org>
Modified: trunk/src/target/kernel/patches/gta01-jbt6k74.patch
===================================================================
--- trunk/src/target/kernel/patches/gta01-jbt6k74.patch 2007-02-17 12:59:06 UTC (rev 1031)
+++ trunk/src/target/kernel/patches/gta01-jbt6k74.patch 2007-02-17 13:18:42 UTC (rev 1032)
@@ -3,8 +3,8 @@
Index: linux-2.6.20/drivers/spi/Kconfig
===================================================================
---- linux-2.6.20.orig/drivers/spi/Kconfig 2007-02-15 16:26:53.000000000 +0100
-+++ linux-2.6.20/drivers/spi/Kconfig 2007-02-15 16:28:11.000000000 +0100
+--- linux-2.6.20.orig/drivers/spi/Kconfig 2007-02-17 13:36:18.000000000 +0100
++++ linux-2.6.20/drivers/spi/Kconfig 2007-02-17 13:59:19.000000000 +0100
@@ -129,5 +129,9 @@
# (slave support would go here)
@@ -17,8 +17,8 @@
Index: linux-2.6.20/drivers/spi/Makefile
===================================================================
---- linux-2.6.20.orig/drivers/spi/Makefile 2007-02-15 16:26:53.000000000 +0100
-+++ linux-2.6.20/drivers/spi/Makefile 2007-02-15 16:28:11.000000000 +0100
+--- linux-2.6.20.orig/drivers/spi/Makefile 2007-02-17 13:36:18.000000000 +0100
++++ linux-2.6.20/drivers/spi/Makefile 2007-02-17 13:59:19.000000000 +0100
@@ -26,4 +26,5 @@
# ... add above this line ...
@@ -28,8 +28,8 @@
Index: linux-2.6.20/drivers/spi/jbt6k74.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.20/drivers/spi/jbt6k74.c 2007-02-15 16:49:58.000000000 +0100
-@@ -0,0 +1,533 @@
++++ linux-2.6.20/drivers/spi/jbt6k74.c 2007-02-17 14:00:05.000000000 +0100
+@@ -0,0 +1,532 @@
+/* Linux kernel driver for the tpo JBT6K74-AS LCM ASIC
+ *
+ * Copyright (C) 2006-2007 by OpenMoko, Inc.
@@ -432,7 +432,7 @@
+ unsigned long val = simple_strtoul(buf, NULL, 10);
+
+ jbt_reg_write(jbt, reg, val & 0xff);
-+
++
+ return count;
+}
+
@@ -536,7 +536,6 @@
+static struct spi_driver jbt6k74_driver = {
+ .driver = {
+ .name = "jbt6k74",
-+ .bus = &spi_bus_type,
+ .owner = THIS_MODULE,
+ },
+
More information about the commitlog
mailing list