summaryrefslogtreecommitdiff
path: root/target/linux/omap24xx/patches-3.3/410-hci-h4p-fixes.patch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-18 20:22:32 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-18 20:22:32 +0000
commit2d3a55136a3944878696753837386bc6593bb82b (patch)
treee47bafe43922f57ee5bba887328fcbe15b6fc6f6 /target/linux/omap24xx/patches-3.3/410-hci-h4p-fixes.patch
parent71f3abe21d082948e28c7310edf8a010dba12c13 (diff)
omap24xx: add support for 3.3
Compile tested only. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31810 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/omap24xx/patches-3.3/410-hci-h4p-fixes.patch')
-rw-r--r--target/linux/omap24xx/patches-3.3/410-hci-h4p-fixes.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/target/linux/omap24xx/patches-3.3/410-hci-h4p-fixes.patch b/target/linux/omap24xx/patches-3.3/410-hci-h4p-fixes.patch
new file mode 100644
index 0000000000..6741511a88
--- /dev/null
+++ b/target/linux/omap24xx/patches-3.3/410-hci-h4p-fixes.patch
@@ -0,0 +1,46 @@
+--- a/drivers/bluetooth/hci_h4p/core.c
++++ b/drivers/bluetooth/hci_h4p/core.c
+@@ -36,9 +36,9 @@
+ #include <linux/clk.h>
+ #include <linux/gpio.h>
+
+-#include <mach/hardware.h>
+-#include <mach/board.h>
+-#include <mach/irqs.h>
++#include <plat/hardware.h>
++#include <plat/board.h>
++#include <plat/irqs.h>
+ #include <plat/serial.h>
+
+ #include <net/bluetooth/bluetooth.h>
+--- a/drivers/bluetooth/hci_h4p/hci_h4p.h
++++ b/drivers/bluetooth/hci_h4p/hci_h4p.h
+@@ -21,7 +21,7 @@
+ *
+ */
+
+-#include <mach/board.h>
++#include <plat/board.h>
+
+ #include <net/bluetooth/bluetooth.h>
+ #include <net/bluetooth/hci_core.h>
+--- a/drivers/bluetooth/hci_h4p/sysfs.c
++++ b/drivers/bluetooth/hci_h4p/sysfs.c
+@@ -48,15 +48,8 @@ static ssize_t hci_h4p_store_bdaddr(stru
+ return -EINVAL;
+ }
+
+- //for (i = 0; i < 6; i++)
+- //info->bdaddr[i] = bdaddr[i] & 0xff;
+-
+- info->bdaddr[0] = 0x00;
+- info->bdaddr[1] = 0x1D;
+- info->bdaddr[2] = 0x6E;
+- info->bdaddr[3] = 0xD4;
+- info->bdaddr[4] = 0xF0;
+- info->bdaddr[5] = 0x37;
++ for (i = 0; i < 6; i++)
++ info->bdaddr[i] = bdaddr[i] & 0xff;
+
+ return count;
+ }