mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 13:13:57 +08:00
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>
This commit is contained in:
parent
f9eb89e97d
commit
e86ee142a2
@ -54,7 +54,7 @@ struct adf4350_state {
|
|||||||
static struct adf4350_platform_data default_pdata = {
|
static struct adf4350_platform_data default_pdata = {
|
||||||
.clkin = 122880000,
|
.clkin = 122880000,
|
||||||
.channel_spacing = 10000,
|
.channel_spacing = 10000,
|
||||||
.r2_user_settings = ADF4350_REG2_PD_POLARITY_POS,
|
.r2_user_settings = ADF4350_REG2_PD_POLARITY_POS |
|
||||||
ADF4350_REG2_CHARGE_PUMP_CURR_uA(2500),
|
ADF4350_REG2_CHARGE_PUMP_CURR_uA(2500),
|
||||||
.r3_user_settings = ADF4350_REG3_12BIT_CLKDIV_MODE(0),
|
.r3_user_settings = ADF4350_REG3_12BIT_CLKDIV_MODE(0),
|
||||||
.r4_user_settings = ADF4350_REG4_OUTPUT_PWR(3) |
|
.r4_user_settings = ADF4350_REG4_OUTPUT_PWR(3) |
|
||||||
|
Loading…
Reference in New Issue
Block a user