summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6655/baseband.c
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-11-06 23:02:02 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-07 20:23:28 +0300
commit78b3c1fde09b072ee508ad26ffc237e5a3b6e6b1 (patch)
tree27e735f7cb05be1ce006acfc74e17f89b2b83b91 /drivers/staging/vt6655/baseband.c
parenta5f0eef38b574248119353667eeee69559b9c291 (diff)
downloadlinux-78b3c1fde09b072ee508ad26ffc237e5a3b6e6b1.tar.xz
staging: vt6655: baseband/rf s_bAL7230Init change __iomem for baseband functions
Replace __iomem with vnt_private providing pointer for dwIoBase Change BBvPowerSaveModeON and BBvPowerSaveModeOFF to vnt_private and reference __iomem there, to be removed later. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/baseband.c')
-rw-r--r--drivers/staging/vt6655/baseband.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/baseband.c b/drivers/staging/vt6655/baseband.c
index c6c811b18f46..9d5288ca2ed2 100644
--- a/drivers/staging/vt6655/baseband.c
+++ b/drivers/staging/vt6655/baseband.c
@@ -2289,8 +2289,9 @@ BBvSoftwareReset(struct vnt_private *priv)
*
*/
void
-BBvPowerSaveModeON(void __iomem *dwIoBase)
+BBvPowerSaveModeON(struct vnt_private *priv)
{
+ void __iomem *dwIoBase = priv->PortOffset;
unsigned char byOrgData;
BBbReadEmbedded(dwIoBase, 0x0D, &byOrgData);
@@ -2311,8 +2312,9 @@ BBvPowerSaveModeON(void __iomem *dwIoBase)
*
*/
void
-BBvPowerSaveModeOFF(void __iomem *dwIoBase)
+BBvPowerSaveModeOFF(struct vnt_private *priv)
{
+ void __iomem *dwIoBase = priv->PortOffset;
unsigned char byOrgData;
BBbReadEmbedded(dwIoBase, 0x0D, &byOrgData);