staging: clocking-wizard: Fix incorrect type of speed grade
The speed grade type is unsigned according to the dt-bindings. Fix sparse issue (-Wtypesign): CHECK drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c:162:56: warning: incorrect type in argument 3 (different signedness) drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c:162:56: expected unsigned int [usertype] *out_value drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c:162:56: got int *<noident> Signed-off-by: Xavier Roumegue <xroumegue@gmail.com> Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com> Acked-by: Moritz Fischer <moritz.fischer@ettus.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4a5a7a662a
commit
a95cd6deeb
|
@ -68,7 +68,7 @@ struct clk_wzrd {
|
|||
struct clk *axi_clk;
|
||||
struct clk *clks_internal[wzrd_clk_int_max];
|
||||
struct clk *clkout[WZRD_NUM_OUTPUTS];
|
||||
int speed_grade;
|
||||
unsigned int speed_grade;
|
||||
bool suspended;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue