diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2011-03-14 13:58:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-14 14:58:44 -0400 |
commit | f88902c01ba58bad05e485aaff608cdbe65c3d7f (patch) | |
tree | 671b0029f86dd959bb079bdb1d0110a8b56fcb6a | |
parent | 03210b8fbc85127a3a5097e7ce71370c8f0eb31a (diff) |
ath6kl: remove-typedef HIF_SCATTER_ITEM
remove-typedef -s HIF_SCATTER_ITEM \
"struct hif_scatter_item" 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>
-rw-r--r-- | drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c | 2 | ||||
-rw-r--r-- | drivers/staging/ath6kl/htc2/AR6000/ar6k.c | 2 | ||||
-rw-r--r-- | drivers/staging/ath6kl/include/hif.h | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c b/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c index 567993f7d4ed..196d33db4470 100644 --- a/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c +++ b/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c | |||
@@ -306,7 +306,7 @@ int SetupHIFScatterSupport(HIF_DEVICE *device, struct hif_device_scatter_support | |||
306 | pReqPriv->device = device; | 306 | pReqPriv->device = device; |
307 | /* allocate the scatter request */ | 307 | /* allocate the scatter request */ |
308 | pReqPriv->pHifScatterReq = (HIF_SCATTER_REQ *)A_MALLOC(sizeof(HIF_SCATTER_REQ) + | 308 | pReqPriv->pHifScatterReq = (HIF_SCATTER_REQ *)A_MALLOC(sizeof(HIF_SCATTER_REQ) + |
309 | (MAX_SCATTER_ENTRIES_PER_REQ - 1) * (sizeof(HIF_SCATTER_ITEM))); | 309 | (MAX_SCATTER_ENTRIES_PER_REQ - 1) * (sizeof(struct hif_scatter_item))); |
310 | 310 | ||
311 | if (NULL == pReqPriv->pHifScatterReq) { | 311 | if (NULL == pReqPriv->pHifScatterReq) { |
312 | A_FREE(pReqPriv); | 312 | A_FREE(pReqPriv); |
diff --git a/drivers/staging/ath6kl/htc2/AR6000/ar6k.c b/drivers/staging/ath6kl/htc2/AR6000/ar6k.c index f9f411ae43b3..3ebf630a15a2 100644 --- a/drivers/staging/ath6kl/htc2/AR6000/ar6k.c +++ b/drivers/staging/ath6kl/htc2/AR6000/ar6k.c | |||
@@ -761,7 +761,7 @@ static int DevSetupVirtualScatterSupport(struct ar6k_device *pDev) | |||
761 | 2 * (A_GET_CACHE_LINE_BYTES()) + AR6K_MAX_TRANSFER_SIZE_PER_SCATTER; | 761 | 2 * (A_GET_CACHE_LINE_BYTES()) + AR6K_MAX_TRANSFER_SIZE_PER_SCATTER; |
762 | 762 | ||
763 | sgreqSize = sizeof(HIF_SCATTER_REQ) + | 763 | sgreqSize = sizeof(HIF_SCATTER_REQ) + |
764 | (AR6K_SCATTER_ENTRIES_PER_REQ - 1) * (sizeof(HIF_SCATTER_ITEM)); | 764 | (AR6K_SCATTER_ENTRIES_PER_REQ - 1) * (sizeof(struct hif_scatter_item)); |
765 | 765 | ||
766 | for (i = 0; i < AR6K_SCATTER_REQS; i++) { | 766 | for (i = 0; i < AR6K_SCATTER_REQS; i++) { |
767 | /* allocate the scatter request, buffer info and the actual virtual buffer itself */ | 767 | /* allocate the scatter request, buffer info and the actual virtual buffer itself */ |
diff --git a/drivers/staging/ath6kl/include/hif.h b/drivers/staging/ath6kl/include/hif.h index 8d0c94e7b29c..427e7b8c0125 100644 --- a/drivers/staging/ath6kl/include/hif.h +++ b/drivers/staging/ath6kl/include/hif.h | |||
@@ -270,11 +270,11 @@ struct hif_device_irq_yield_params { | |||
270 | }; | 270 | }; |
271 | 271 | ||
272 | 272 | ||
273 | typedef struct _HIF_SCATTER_ITEM { | 273 | struct hif_scatter_item { |
274 | u8 *pBuffer; /* CPU accessible address of buffer */ | 274 | u8 *pBuffer; /* CPU accessible address of buffer */ |
275 | int Length; /* length of transfer to/from this buffer */ | 275 | int Length; /* length of transfer to/from this buffer */ |
276 | void *pCallerContexts[2]; /* space for caller to insert a context associated with this item */ | 276 | void *pCallerContexts[2]; /* space for caller to insert a context associated with this item */ |
277 | } HIF_SCATTER_ITEM; | 277 | }; |
278 | 278 | ||
279 | struct _HIF_SCATTER_REQ; | 279 | struct _HIF_SCATTER_REQ; |
280 | 280 | ||
@@ -299,7 +299,7 @@ typedef struct _HIF_SCATTER_REQ { | |||
299 | HIF_SCATTER_METHOD ScatterMethod; /* scatter method handled by HIF */ | 299 | HIF_SCATTER_METHOD ScatterMethod; /* scatter method handled by HIF */ |
300 | void *HIFPrivate[4]; /* HIF private area */ | 300 | void *HIFPrivate[4]; /* HIF private area */ |
301 | u8 *pScatterBounceBuffer; /* bounce buffer for upper layers to copy to/from */ | 301 | u8 *pScatterBounceBuffer; /* bounce buffer for upper layers to copy to/from */ |
302 | HIF_SCATTER_ITEM ScatterList[1]; /* start of scatter list */ | 302 | struct hif_scatter_item ScatterList[1]; /* start of scatter list */ |
303 | } HIF_SCATTER_REQ; | 303 | } HIF_SCATTER_REQ; |
304 | 304 | ||
305 | typedef HIF_SCATTER_REQ * ( *HIF_ALLOCATE_SCATTER_REQUEST)(HIF_DEVICE *device); | 305 | typedef HIF_SCATTER_REQ * ( *HIF_ALLOCATE_SCATTER_REQUEST)(HIF_DEVICE *device); |