diff options
| author | Michael Hennerich <michael.hennerich@analog.com> | 2013-06-03 09:30:00 -0400 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2013-06-04 13:36:52 -0400 |
| commit | 0a4510a6cbee270820871e60ab0cac7058b2f394 (patch) | |
| tree | e11be4f1febcff9e4fafe53f782cc3b28fa8ebe7 /include/linux/iio/frequency | |
| parent | c7a8be08da50eb5e30eaa6555079c10b8e23521a (diff) | |
iio: frequency: adf4350: cast value to unsigned to make code checkers happy
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio/frequency')
| -rw-r--r-- | include/linux/iio/frequency/adf4350.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/iio/frequency/adf4350.h b/include/linux/iio/frequency/adf4350.h index be91f344d5fc..ffd8c8f90928 100644 --- a/include/linux/iio/frequency/adf4350.h +++ b/include/linux/iio/frequency/adf4350.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * ADF4350/ADF4351 SPI PLL driver | 2 | * ADF4350/ADF4351 SPI PLL driver |
| 3 | * | 3 | * |
| 4 | * Copyright 2012 Analog Devices Inc. | 4 | * Copyright 2012-2013 Analog Devices Inc. |
| 5 | * | 5 | * |
| 6 | * Licensed under the GPL-2. | 6 | * Licensed under the GPL-2. |
| 7 | */ | 7 | */ |
| @@ -41,7 +41,7 @@ | |||
| 41 | #define ADF4350_REG2_RDIV2_EN (1 << 24) | 41 | #define ADF4350_REG2_RDIV2_EN (1 << 24) |
| 42 | #define ADF4350_REG2_RMULT2_EN (1 << 25) | 42 | #define ADF4350_REG2_RMULT2_EN (1 << 25) |
| 43 | #define ADF4350_REG2_MUXOUT(x) ((x) << 26) | 43 | #define ADF4350_REG2_MUXOUT(x) ((x) << 26) |
| 44 | #define ADF4350_REG2_NOISE_MODE(x) ((x) << 29) | 44 | #define ADF4350_REG2_NOISE_MODE(x) (((unsigned)(x)) << 29) |
| 45 | #define ADF4350_MUXOUT_THREESTATE 0 | 45 | #define ADF4350_MUXOUT_THREESTATE 0 |
| 46 | #define ADF4350_MUXOUT_DVDD 1 | 46 | #define ADF4350_MUXOUT_DVDD 1 |
| 47 | #define ADF4350_MUXOUT_GND 2 | 47 | #define ADF4350_MUXOUT_GND 2 |
