diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index 3768791d9744..0350fc9d2416 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -229,7 +229,7 @@ struct vnt_private { /* GPIO Radio Control */ unsigned char byRadioCtl; unsigned char byGPIO; - bool bHWRadioOff; + bool hw_radio_off; bool bPrvActive4RadioOFF; bool bGPIOBlockRead; diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index e74caf22d75a..6c5140e29f6b 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -373,7 +373,7 @@ static void device_init_registers(struct vnt_private *priv) priv->byRadioCtl = SROMbyReadEmbedded(priv->port_offset, EEP_OFS_RADIOCTL); - priv->bHWRadioOff = false; + priv->hw_radio_off = false; if (priv->byRadioCtl & EEP_RADIOCTL_ENABLE) { /* Get GPIO */ @@ -383,10 +383,10 @@ static void device_init_registers(struct vnt_private *priv) !(priv->byRadioCtl & EEP_RADIOCTL_INV)) || (!(priv->byGPIO & GPIO0_DATA) && (priv->byRadioCtl & EEP_RADIOCTL_INV))) - priv->bHWRadioOff = true; + priv->hw_radio_off = true; } - if (priv->bHWRadioOff || priv->bRadioControlOff) + if (priv->hw_radio_off || priv->bRadioControlOff) CARDbRadioPowerOff(priv); /* get Permanent network address */