diff options
author | Thomas Betker <thomas.betker@rohde-schwarz.com> | 2015-04-15 22:11:47 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-04-19 15:47:58 +0300 |
commit | 3960d2c0c4aafe98da47a4a2eb64dfa8e88d8df5 (patch) | |
tree | 4a35b1e7c9264b20b61e0ef3d02682546ac81b1c /drivers/iio/adc/xilinx-xadc.h | |
parent | 964e2255f1d73fc0136bc206a78a1f86bdad72a7 (diff) | |
download | linux-3960d2c0c4aafe98da47a4a2eb64dfa8e88d8df5.tar.xz |
iio: adc: xilinx: Fix register addresses
Define the register addresses for MIN_VCCPINT, MIN_VCCPAUX, MIN_VCCO_DDR
correctly.
Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc/xilinx-xadc.h')
-rw-r--r-- | drivers/iio/adc/xilinx-xadc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/adc/xilinx-xadc.h b/drivers/iio/adc/xilinx-xadc.h index c7487e8d7f80..54adc5087210 100644 --- a/drivers/iio/adc/xilinx-xadc.h +++ b/drivers/iio/adc/xilinx-xadc.h @@ -145,9 +145,9 @@ static inline int xadc_write_adc_reg(struct xadc *xadc, unsigned int reg, #define XADC_REG_MAX_VCCPINT 0x28 #define XADC_REG_MAX_VCCPAUX 0x29 #define XADC_REG_MAX_VCCO_DDR 0x2a -#define XADC_REG_MIN_VCCPINT 0x2b -#define XADC_REG_MIN_VCCPAUX 0x2c -#define XADC_REG_MIN_VCCO_DDR 0x2d +#define XADC_REG_MIN_VCCPINT 0x2c +#define XADC_REG_MIN_VCCPAUX 0x2d +#define XADC_REG_MIN_VCCO_DDR 0x2e #define XADC_REG_CONF0 0x40 #define XADC_REG_CONF1 0x41 |