source: trunk/target/linux/omap24xx/patches-3.1/410-hci-h4p-fixes.patch @ 28672

Last change on this file since 28672 was 28672, checked in by mb, 5 years ago

omap24xx: Add 3.1 patchset.

File size: 1.1 KB
  • drivers/bluetooth/hci_h4p/core.c

    a b  
    3636#include <linux/clk.h> 
    3737#include <linux/gpio.h> 
    3838 
    39 #include <mach/hardware.h> 
    40 #include <mach/board.h> 
    41 #include <mach/irqs.h> 
     39#include <plat/hardware.h> 
     40#include <plat/board.h> 
     41#include <plat/irqs.h> 
    4242#include <plat/serial.h> 
    4343 
    4444#include <net/bluetooth/bluetooth.h> 
  • drivers/bluetooth/hci_h4p/hci_h4p.h

    a b  
    2121 * 
    2222 */ 
    2323 
    24 #include <mach/board.h> 
     24#include <plat/board.h> 
    2525 
    2626#include <net/bluetooth/bluetooth.h> 
    2727#include <net/bluetooth/hci_core.h> 
  • drivers/bluetooth/hci_h4p/sysfs.c

    a b static ssize_t hci_h4p_store_bdaddr(stru 
    4848                return -EINVAL; 
    4949        } 
    5050 
    51         //for (i = 0; i < 6; i++) 
    52                 //info->bdaddr[i] = bdaddr[i] & 0xff; 
    53  
    54         info->bdaddr[0] = 0x00; 
    55         info->bdaddr[1] = 0x1D; 
    56         info->bdaddr[2] = 0x6E; 
    57         info->bdaddr[3] = 0xD4; 
    58         info->bdaddr[4] = 0xF0; 
    59         info->bdaddr[5] = 0x37; 
     51        for (i = 0; i < 6; i++) 
     52                info->bdaddr[i] = bdaddr[i] & 0xff; 
    6053 
    6154        return count; 
    6255} 
Note: See TracBrowser for help on using the repository browser.