staging: ath6kl: Fixing the driver to use modified mmc_host structure
Subsystems (2)
PATCH 1/1 staging: ath6kl: Fixing the driver to use modified mmc_host structure
Stephen,
Can you pls help me apply the following patch to the linux-next
tree. The patch fixes a compilation problem with ath6kl due to a change in the mmc_host structure. The driver compiles fine in the staging-next-2.6 tree which is where the changes for this driver actually go. However, the mmc stack in the linux-next tree and staging-next-2.6 is out of sync and so this patch is only applicable to linux-next.
Regards,
Vipin
----- Forwarded message from Vipin Mehta <[email protected]> -----
Date: Fri, 17 Sep 2010 18:45:38 -0700
From: Vipin Mehta <[email protected]>
To: "[email protected]" <[email protected]>
CC: "[email protected]" <[email protected]>,
Vipin Mehta <[email protected]>, "[email protected]" <[email protected]>, "[email protected]" <[email protected]>
Subject: [PATCH] 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.
--- .../ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c +2 -2
@@ -285,9 +285,9 @@ A_STATUS SetupHIFScatterSupport(HIF_DEVICE *device, HIF_DEVICE_SCATTER_SUPPORT_I do { /* check if host supports scatter requests and it meets our requirements */ - if (device->func->card->host->max_hw_segs < MAX_SCATTER_ENTRIES_PER_REQ) { + if (device->func->card->host->max_segs < MAX_SCATTER_ENTRIES_PER_REQ) { AR_DEBUG_PRINTF(ATH_DEBUG_ERR,("HIF-SCATTER : host only supports scatter of : %d entries, need: %d \n", - device->func->card->host->max_hw_segs, MAX_SCATTER_ENTRIES_PER_REQ)); + device->func->card->host->max_segs, MAX_SCATTER_ENTRIES_PER_REQ)); status = A_ENOTSUP; break; }
Signature · 4 lines
1.6.3.3 ----- End forwarded message -----
Hi Vipin,
Quoted 8 lines · On Wed, 29 Sep 2010 17:34:19 -0700 Vipin Mehta <[email protected]> wrote:
Can you pls help me apply the following patch to the linux-next
tree. The patch fixes a compilation problem with ath6kl due to a change in themmc_hoststructure. The driver compiles fine in the staging-next-2.6 tree which is where the changes for this driver actually go. However, the mmc stack in the linux-next tree and staging-next-2.6 is out of sync and so this patch is only applicable to linux-next.
I will carry it as a merge fixup patch for the staging-next tree. Someone just needs to make sure that this patch gets applied (or sent to Linus) at the right time.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Quoted 12 lines · Stephen Rothwell
Hi Vipin,
Quoted 8 lines · On Wed, 29 Sep 2010 17:34:19 -0700 Vipin Mehta <[email protected]> wrote:
Can you pls help me apply the following patch to the linux-next
tree. The patch fixes a compilation problem with ath6kl due to a change in themmc_hoststructure. The driver compiles fine in the staging-next-2.6 tree which is where the changes for this driver actually go. However, the mmc stack in the linux-next tree and staging-next-2.6 is out of sync and so this patch is only applicable to linux-next.
Quoted 3 lines
I will carry it as a merge fixup patch for the staging-next tree. Someone just needs to make sure that this patch gets applied (or sent to Linus) at the right time.
I'll keep in my "todo" file to handle it when the merge happens.
thanks,
greg k-h