Skip to content
Commit d26d99cd authored by Quanyang Wang's avatar Quanyang Wang Committed by Bruce Ashfield
Browse files

fpga: zynqmp-fpga: fix compile warning in fpga_mgr_register



This fixes the compile warning as below:

drivers/fpga/fpga-mgr.c:911:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
911 | struct dentry *d, *parent;
		^~~~~~

Signed-off-by: default avatarQuanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent deee4530
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment