diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-06-08 02:55:37 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-12 17:47:03 -0400 |
commit | e86ee142a223ec85efda7c66b3e99fe79aa8cc4f (patch) | |
tree | ae74eaf38dd72e4fc8c329df31549499a329cff0 /drivers/iio/frequency/adf4350.c | |
parent | f9eb89e97dec966981494c75ef7dc41630b0cb43 (diff) |
iio: frequency: adf4350: fix an initialization
Sparse complains about this:
drivers/iio/frequency/adf4350.c:58:29: warning: Initializer entry defined twice
drivers/iio/frequency/adf4350.c:59:10: also defined here
It looks like '|' was intended here instead of ','.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/frequency/adf4350.c')
-rw-r--r-- | drivers/iio/frequency/adf4350.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/frequency/adf4350.c b/drivers/iio/frequency/adf4350.c index 2d09f82d9752..6ce45f5c0deb 100644 --- a/drivers/iio/frequency/adf4350.c +++ b/drivers/iio/frequency/adf4350.c | |||
@@ -54,7 +54,7 @@ struct adf4350_state { | |||
54 | static struct adf4350_platform_data default_pdata = { | 54 | static struct adf4350_platform_data default_pdata = { |
55 | .clkin = 122880000, | 55 | .clkin = 122880000, |
56 | .channel_spacing = 10000, | 56 | .channel_spacing = 10000, |
57 | .r2_user_settings = ADF4350_REG2_PD_POLARITY_POS, | 57 | .r2_user_settings = ADF4350_REG2_PD_POLARITY_POS | |
58 | ADF4350_REG2_CHARGE_PUMP_CURR_uA(2500), | 58 | ADF4350_REG2_CHARGE_PUMP_CURR_uA(2500), |
59 | .r3_user_settings = ADF4350_REG3_12BIT_CLKDIV_MODE(0), | 59 | .r3_user_settings = ADF4350_REG3_12BIT_CLKDIV_MODE(0), |
60 | .r4_user_settings = ADF4350_REG4_OUTPUT_PWR(3) | | 60 | .r4_user_settings = ADF4350_REG4_OUTPUT_PWR(3) | |