Skip to content

Commit

Permalink
staging: ti-st: mv headers to ti_wilink_st
Browse files Browse the repository at this point in the history
move all the header information to ti_wilink_st.h.
This header would then not only serve the local modules like the st_core.c,
st_kim.c and st_ll.c but also the external modules/protocol drivers that are
dependent on the shared transport driver.
Modify the source files to include the new header ti_wilink_st.h,

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Pavan Savoy authored and Greg Kroah-Hartman committed Sep 21, 2010
1 parent 5d702ea commit 83ef41f
Show file tree
Hide file tree
Showing 10 changed files with 417 additions and 486 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/ti-st/bt_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci_core.h>

#include "st.h"
#include "ti_wilink_st.h"
#include "bt_drv.h"

/* Define this macro to get debug msg */
Expand Down
13 changes: 0 additions & 13 deletions drivers/staging/ti-st/fm.h

This file was deleted.

83 changes: 0 additions & 83 deletions drivers/staging/ti-st/st.h

This file was deleted.

10 changes: 1 addition & 9 deletions drivers/staging/ti-st/st_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,7 @@
#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci_core.h>
#include <net/bluetooth/hci.h>
#include "fm.h"
/*
* packet formats for fm and gps
* #include "gps.h"
*/
#include "st_core.h"
#include "st_kim.h"
#include "st_ll.h"
#include "st.h"
#include "ti_wilink_st.h"

/* strings to be used for rfkill entries and by
* ST Core to be used for sysfs debug entry
Expand Down
128 changes: 0 additions & 128 deletions drivers/staging/ti-st/st_core.h

This file was deleted.

5 changes: 3 additions & 2 deletions drivers/staging/ti-st/st_kim.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,16 @@
#include <linux/gpio.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>

#include <linux/sched.h>
#include <linux/rfkill.h>

#include "st_kim.h"
/* understand BT events for fw response */
#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci_core.h>
#include <net/bluetooth/hci.h>

#include "ti_wilink_st.h"


static int kim_probe(struct platform_device *pdev);
static int kim_remove(struct platform_device *pdev);
Expand Down
Loading

0 comments on commit 83ef41f

Please sign in to comment.