diff options
author | Vipin Mehta <vmehta@atheros.com> | 2010-09-17 21:45:38 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-03 09:16:25 -0400 |
commit | 73bb2f250db841e54db3278517e09831014a62ac (patch) | |
tree | 6ca55a1293d7139fd36ef5069c067803283e1b04 | |
parent | 27d68fbbd555765974052ef2f5a14824da0818fe (diff) |
staging: ath6kl: Fixing the driver to use modified mmc_host structure
A recent change in the mmc_host structure removed the distinction
between hw and phys segments (58cb50c20fde6059f3f8db4466a1bd4d1fff999c)
Changing the driver to use the modified structure.
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Vipin Mehta <vmehta@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 | 4 |
1 files changed, 2 insertions, 2 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 22c6c6659f5b..ee8b47746a15 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 | |||
@@ -285,9 +285,9 @@ A_STATUS SetupHIFScatterSupport(HIF_DEVICE *device, HIF_DEVICE_SCATTER_SUPPORT_I | |||
285 | do { | 285 | do { |
286 | 286 | ||
287 | /* check if host supports scatter requests and it meets our requirements */ | 287 | /* check if host supports scatter requests and it meets our requirements */ |
288 | if (device->func->card->host->max_hw_segs < MAX_SCATTER_ENTRIES_PER_REQ) { | 288 | if (device->func->card->host->max_segs < MAX_SCATTER_ENTRIES_PER_REQ) { |
289 | AR_DEBUG_PRINTF(ATH_DEBUG_ERR,("HIF-SCATTER : host only supports scatter of : %d entries, need: %d \n", | 289 | AR_DEBUG_PRINTF(ATH_DEBUG_ERR,("HIF-SCATTER : host only supports scatter of : %d entries, need: %d \n", |
290 | device->func->card->host->max_hw_segs, MAX_SCATTER_ENTRIES_PER_REQ)); | 290 | device->func->card->host->max_segs, MAX_SCATTER_ENTRIES_PER_REQ)); |
291 | status = A_ENOTSUP; | 291 | status = A_ENOTSUP; |
292 | break; | 292 | break; |
293 | } | 293 | } |