forked from Minki/linux
ath6kl: remove-typedef HCI_TRANSPORT_CALLBACKS
remove-typedef -s HCI_TRANSPORT_CALLBACKS \ "struct hci_transport_callbacks" drivers/staging/ath6kl/ Tested-by: Naveen Singh <nsingh@atheros.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
55b0f0daa6
commit
ed8b361d88
@ -36,10 +36,10 @@ struct common_credit_state_info {
|
||||
HTC_ENDPOINT_CREDIT_DIST *pLowestPriEpDist; /* pointer to the lowest priority endpoint dist struct */
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
struct hci_transport_callbacks {
|
||||
s32 (*setupTransport)(void *ar);
|
||||
void (*cleanupTransport)(void *ar);
|
||||
} HCI_TRANSPORT_CALLBACKS;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
void *netDevice;
|
||||
|
@ -114,7 +114,7 @@ APTC_TRAFFIC_RECORD aptcTR;
|
||||
|
||||
#ifdef EXPORT_HCI_BRIDGE_INTERFACE
|
||||
// callbacks registered by HCI transport driver
|
||||
HCI_TRANSPORT_CALLBACKS ar6kHciTransCallbacks = { NULL };
|
||||
struct hci_transport_callbacks ar6kHciTransCallbacks = { NULL };
|
||||
#endif
|
||||
|
||||
unsigned int processDot11Hdr = 0;
|
||||
|
@ -455,10 +455,10 @@ void ar6k_cleanup_hci_pal(void *ar_p)
|
||||
* Register init and callback function with ar6k
|
||||
* when PAL driver is a separate kernel module.
|
||||
****************************************************/
|
||||
int ar6k_register_hci_pal(HCI_TRANSPORT_CALLBACKS *hciTransCallbacks);
|
||||
int ar6k_register_hci_pal(struct hci_transport_callbacks *hciTransCallbacks);
|
||||
static int __init pal_init_module(void)
|
||||
{
|
||||
HCI_TRANSPORT_CALLBACKS hciTransCallbacks;
|
||||
struct hci_transport_callbacks hciTransCallbacks;
|
||||
|
||||
hciTransCallbacks.setupTransport = ar6k_setup_hci_pal;
|
||||
hciTransCallbacks.cleanupTransport = ar6k_cleanup_hci_pal;
|
||||
|
@ -49,9 +49,9 @@ int (*_HCI_TransportRecvHCIEventSync)(HCI_TRANSPORT_HANDLE HciTrans,
|
||||
int (*_HCI_TransportSetBaudRate)(HCI_TRANSPORT_HANDLE HciTrans, u32 Baud);
|
||||
int (*_HCI_TransportEnablePowerMgmt)(HCI_TRANSPORT_HANDLE HciTrans, bool Enable);
|
||||
|
||||
extern HCI_TRANSPORT_CALLBACKS ar6kHciTransCallbacks;
|
||||
extern struct hci_transport_callbacks ar6kHciTransCallbacks;
|
||||
|
||||
int ar6000_register_hci_transport(HCI_TRANSPORT_CALLBACKS *hciTransCallbacks)
|
||||
int ar6000_register_hci_transport(struct hci_transport_callbacks *hciTransCallbacks)
|
||||
{
|
||||
ar6kHciTransCallbacks = *hciTransCallbacks;
|
||||
|
||||
|
@ -1119,7 +1119,7 @@ static int __init
|
||||
hcibridge_init_module(void)
|
||||
{
|
||||
int status;
|
||||
HCI_TRANSPORT_CALLBACKS hciTransCallbacks;
|
||||
struct hci_transport_callbacks hciTransCallbacks;
|
||||
|
||||
hciTransCallbacks.setupTransport = ar6000_setup_hci;
|
||||
hciTransCallbacks.cleanupTransport = ar6000_cleanup_hci;
|
||||
|
@ -61,7 +61,7 @@ extern int (*_HCI_TransportEnablePowerMgmt)(HCI_TRANSPORT_HANDLE HciTrans, bo
|
||||
_HCI_TransportEnablePowerMgmt((HciTrans), (Enable))
|
||||
|
||||
|
||||
extern int ar6000_register_hci_transport(HCI_TRANSPORT_CALLBACKS *hciTransCallbacks);
|
||||
extern int ar6000_register_hci_transport(struct hci_transport_callbacks *hciTransCallbacks);
|
||||
|
||||
extern int ar6000_get_hif_dev(HIF_DEVICE *device, void *config);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user