summaryrefslogtreecommitdiff
path: root/drivers/firmware/xilinx
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2020-04-15 11:43:11 +0300
committerMichal Simek <michal.simek@xilinx.com>2020-04-15 11:25:20 +0300
commitf5ba30ba481dd8fd513c16262ab528a2a70780d9 (patch)
treeae83dec16ce4776bc19475b1fb20a1cfb971d2c7 /drivers/firmware/xilinx
parentd0384eedcde21276ac51f57c641f875605024b32 (diff)
downloadlinux-f5ba30ba481dd8fd513c16262ab528a2a70780d9.tar.xz
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 <hulkci@huawei.com> Signed-off-by: Jason Yan <yanaijie@huawei.com> Link: https://lore.kernel.org/r/20200415084311.24857-1-yanaijie@huawei.com Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/firmware/xilinx')
-rw-r--r--drivers/firmware/xilinx/zynqmp-debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/xilinx/zynqmp-debug.c b/drivers/firmware/xilinx/zynqmp-debug.c
index c6d0724da4db..43bc6cfdab45 100644
--- a/drivers/firmware/xilinx/zynqmp-debug.c
+++ b/drivers/firmware/xilinx/zynqmp-debug.c
@@ -35,7 +35,7 @@ static struct pm_api_info pm_api_list[] = {
PM_API(PM_QUERY_DATA),
};
-struct dentry *firmware_debugfs_root;
+static struct dentry *firmware_debugfs_root;
/**
* zynqmp_pm_argument_value() - Extract argument value from a PM-API request