Skip to content

Commit f5ba30b

Browse files
JasonYanHwMichal Simek
authored andcommitted
firmware: xilinx: make firmware_debugfs_root static
Fix the following sparse warning: drivers/firmware/xilinx/zynqmp-debug.c:38:15: warning: symbol 'firmware_debugfs_root' was not declared. Should it be static? Reported-by: Hulk Robot <[email protected]> Signed-off-by: Jason Yan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
1 parent d0384ee commit f5ba30b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/firmware/xilinx/zynqmp-debug.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ static struct pm_api_info pm_api_list[] = {
3535
PM_API(PM_QUERY_DATA),
3636
};
3737

38-
struct dentry *firmware_debugfs_root;
38+
static struct dentry *firmware_debugfs_root;
3939

4040
/**
4141
* zynqmp_pm_argument_value() - Extract argument value from a PM-API request

0 commit comments

Comments
 (0)