提交 e83750e7 编写于 作者: L Luis R. Rodriguez 提交者: Greg Kroah-Hartman

ath6kl: remove-typedef HCI_TRANSPORT_MISC_HANDLES

remove-typedef -s HCI_TRANSPORT_MISC_HANDLES \
	"struct hci_transport_misc_handles" drivers/staging/ath6kl/
Tested-by: NNaveen Singh <nsingh@atheros.com>
Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 c9478eaf
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册