bus: bt1-axi: Change from u32 to unsigned int for regmap_read() calls
PATCH 1/1 bus: bt1-axi: Change from u32 to unsigned int for regmap_read() calls
regmap_read() API signature expects the caller to send "unsigned int" type to return back the read value.
Change the two calls to match the regmap_read() signature.
Signed-off-by Yann Sionneau <[email protected]>
--- drivers/bus/bt1-axi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bus/bt1-axi.c +1 -1
@@ -58,7 +58,7 @@ struct bt1_axi {static irqreturn_t bt1_axi_isr (int irq,void *data) {struct bt1_axi *axi = data; -u32 low =0 , high =0 ; +unsigned int low =0 , high =0 ;regmap_read (axi->sys_regs,BT1_AXI_WERRL , &low);regmap_read (axi->sys_regs,BT1_AXI_WERRH , &high);
base-commit: 2ccdd1b13c591d306f0401d98dedc4bdcd02b421
Signature · 1 line
2.34.1