[RFC PATCH] libnvdimm: bus_desc can be static
kbuild test robot
lkp at intel.com
Sun Mar 25 15:28:12 AEDT 2018
Fixes: 6cb2b51b9b76 ("libnvdimm: Add device-tree based driver")
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---
of_nvdimm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/nvdimm/of_nvdimm.c b/drivers/nvdimm/of_nvdimm.c
index 79c2829..4ed373d 100644
--- a/drivers/nvdimm/of_nvdimm.c
+++ b/drivers/nvdimm/of_nvdimm.c
@@ -15,7 +15,7 @@
* for dispatching regions into the correct bus type, but this is useful
* for now.
*/
-struct nvdimm_bus_descriptor bus_desc;
+static struct nvdimm_bus_descriptor bus_desc;
struct nvdimm_bus *bus;
/* region driver */
More information about the Linuxppc-dev
mailing list