Skip to content

Commit

Permalink
staging: ath6kl: remove-typedef AR6K_GMBOX_INFO
Browse files Browse the repository at this point in the history
remove-typedef -s AR6K_GMBOX_INFO \
	"struct ar6k_gmbox_info" drivers/staging/ath6kl/

Cc: Naveen Singh <naveen.singh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Luis R. Rodriguez authored and Greg Kroah-Hartman committed Mar 11, 2011
1 parent 89c625b commit 69c44f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/ath6kl/htc2/AR6000/ar6k.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ struct ar6k_async_reg_io_buffer {
u8 _Pad2[A_CACHE_LINE_PAD];
};

typedef struct _AR6K_GMBOX_INFO {
struct ar6k_gmbox_info {
void *pProtocolContext;
int (*pMessagePendingCallBack)(void *pContext, u8 LookAheadBytes[], int ValidBytes);
int (*pCreditsPendingCallback)(void *pContext, int NumCredits, bool CreditIRQEnabled);
void (*pTargetFailureCallback)(void *pContext, int Status);
void (*pStateDumpCallback)(void *pContext);
bool CreditCountIRQEnabled;
} AR6K_GMBOX_INFO;
};

struct ar6k_device {
A_MUTEX_T Lock;
Expand Down Expand Up @@ -137,7 +137,7 @@ struct ar6k_device {
bool ScatterIsVirtual;
int MaxRecvBundleSize;
int MaxSendBundleSize;
AR6K_GMBOX_INFO GMboxInfo;
struct ar6k_gmbox_info GMboxInfo;
bool GMboxEnabled;
struct ar6k_gmbox_ctrl_registers GMboxControlRegisters;
int RecheckIRQStatusCnt;
Expand Down

0 comments on commit 69c44f4

Please sign in to comment.