staging: vt6655: baseband/rf s_bAL7230Init change __iomem for baseband functions
[firefly-linux-kernel-4.4.55.git] / drivers / staging / vt6655 / baseband.c
index c6c811b18f46b380c9db16fb866c4520b4ddff22..9d5288ca2ed2fea495e6be072b3853ff003207a4 100644 (file)
@@ -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);