diff options
Diffstat (limited to 'drivers/net/wireless/zd1211rw/zd_chip.h')
-rw-r--r-- | drivers/net/wireless/zd1211rw/zd_chip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_chip.h b/drivers/net/wireless/zd1211rw/zd_chip.h index 117c4123943c..7ab922209b25 100644 --- a/drivers/net/wireless/zd1211rw/zd_chip.h +++ b/drivers/net/wireless/zd1211rw/zd_chip.h | |||
@@ -827,7 +827,7 @@ int zd_ioread32v_locked(struct zd_chip *chip, u32 *values, | |||
827 | static inline int zd_ioread32_locked(struct zd_chip *chip, u32 *value, | 827 | static inline int zd_ioread32_locked(struct zd_chip *chip, u32 *value, |
828 | const zd_addr_t addr) | 828 | const zd_addr_t addr) |
829 | { | 829 | { |
830 | return zd_ioread32v_locked(chip, value, (const zd_addr_t *)&addr, 1); | 830 | return zd_ioread32v_locked(chip, value, &addr, 1); |
831 | } | 831 | } |
832 | 832 | ||
833 | static inline int zd_iowrite16_locked(struct zd_chip *chip, u16 value, | 833 | static inline int zd_iowrite16_locked(struct zd_chip *chip, u16 value, |