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:
Xavier Roumegue 2016-10-18 22:56:50 +02:00 committed by Greg Kroah-Hartman
parent 4a5a7a662a
commit a95cd6deeb
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ struct clk_wzrd {
struct clk *axi_clk; struct clk *axi_clk;
struct clk *clks_internal[wzrd_clk_int_max]; struct clk *clks_internal[wzrd_clk_int_max];
struct clk *clkout[WZRD_NUM_OUTPUTS]; struct clk *clkout[WZRD_NUM_OUTPUTS];
int speed_grade; unsigned int speed_grade;
bool suspended; bool suspended;
}; };