forked from Minki/linux
ath6kl: remove-typedef HCI_TRANSPORT_MISC_HANDLES
remove-typedef -s HCI_TRANSPORT_MISC_HANDLES \ "struct hci_transport_misc_handles" 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
c9478eaf5e
commit
e83750e791
@ -41,11 +41,11 @@ struct hci_transport_callbacks {
|
||||
void (*cleanupTransport)(void *ar);
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
struct hci_transport_misc_handles {
|
||||
void *netDevice;
|
||||
void *hifDevice;
|
||||
void *htcHandle;
|
||||
} HCI_TRANSPORT_MISC_HANDLES;
|
||||
};
|
||||
|
||||
/* HTC TX packet tagging definitions */
|
||||
#define AR6K_CONTROL_PKT_TAG HTC_TX_PACKET_TAG_USER_DEFINED
|
||||
|
@ -2723,7 +2723,7 @@ int ar6000_init(struct net_device *dev)
|
||||
|
||||
#ifdef EXPORT_HCI_BRIDGE_INTERFACE
|
||||
if (setuphci && (NULL != ar6kHciTransCallbacks.setupTransport)) {
|
||||
HCI_TRANSPORT_MISC_HANDLES hciHandles;
|
||||
struct hci_transport_misc_handles hciHandles;
|
||||
|
||||
hciHandles.netDevice = ar->arNetDev;
|
||||
hciHandles.hifDevice = ar->arHifDevice;
|
||||
|
@ -83,7 +83,7 @@ struct ar6k_hci_bridge_info {
|
||||
u8 *pHTCStructAlloc;
|
||||
spinlock_t BridgeLock;
|
||||
#ifdef EXPORT_HCI_BRIDGE_INTERFACE
|
||||
HCI_TRANSPORT_MISC_HANDLES HCITransHdl;
|
||||
struct hci_transport_misc_handles HCITransHdl;
|
||||
#else
|
||||
AR_SOFTC_T *ar;
|
||||
#endif /* EXPORT_HCI_BRIDGE_INTERFACE */
|
||||
@ -488,7 +488,7 @@ int ar6000_setup_hci(AR_SOFTC_T *ar)
|
||||
A_MEMZERO(pHcidevInfo, sizeof(struct ar6k_hci_bridge_info));
|
||||
#ifdef EXPORT_HCI_BRIDGE_INTERFACE
|
||||
g_pHcidevInfo = pHcidevInfo;
|
||||
pHcidevInfo->HCITransHdl = *(HCI_TRANSPORT_MISC_HANDLES *)ar;
|
||||
pHcidevInfo->HCITransHdl = *(struct hci_transport_misc_handles *)ar;
|
||||
#else
|
||||
ar->hcidev_info = pHcidevInfo;
|
||||
pHcidevInfo->ar = ar;
|
||||
|
Loading…
Reference in New Issue
Block a user