kernel: update kernel from 2.6.38.2 to 2.6.38.6 and refresh patches
[openwrt.git] / target / linux / omap24xx / patches-2.6.38 / 410-hci-h4p-fixes.patch
1 --- a/drivers/bluetooth/hci_h4p/core.c
2 +++ b/drivers/bluetooth/hci_h4p/core.c
3 @@ -36,9 +36,9 @@
4 #include <linux/clk.h>
5 #include <linux/gpio.h>
6
7 -#include <mach/hardware.h>
8 -#include <mach/board.h>
9 -#include <mach/irqs.h>
10 +#include <plat/hardware.h>
11 +#include <plat/board.h>
12 +#include <plat/irqs.h>
13 #include <plat/serial.h>
14
15 #include <net/bluetooth/bluetooth.h>
16 --- a/drivers/bluetooth/hci_h4p/hci_h4p.h
17 +++ b/drivers/bluetooth/hci_h4p/hci_h4p.h
18 @@ -21,7 +21,7 @@
19 *
20 */
21
22 -#include <mach/board.h>
23 +#include <plat/board.h>
24
25 #include <net/bluetooth/bluetooth.h>
26 #include <net/bluetooth/hci_core.h>
27 --- a/drivers/bluetooth/hci_h4p/sysfs.c
28 +++ b/drivers/bluetooth/hci_h4p/sysfs.c
29 @@ -48,15 +48,8 @@ static ssize_t hci_h4p_store_bdaddr(stru
30 return -EINVAL;
31 }
32
33 - //for (i = 0; i < 6; i++)
34 - //info->bdaddr[i] = bdaddr[i] & 0xff;
35 -
36 - info->bdaddr[0] = 0x00;
37 - info->bdaddr[1] = 0x1D;
38 - info->bdaddr[2] = 0x6E;
39 - info->bdaddr[3] = 0xD4;
40 - info->bdaddr[4] = 0xF0;
41 - info->bdaddr[5] = 0x37;
42 + for (i = 0; i < 6; i++)
43 + info->bdaddr[i] = bdaddr[i] & 0xff;
44
45 return count;
46 }
This page took 0.045496 seconds and 5 git commands to generate.