projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nvdimm: make nvdimm_bus_type const
[linux-2.6-microblaze.git]
/
drivers
/
nvdimm
/
bus.c
diff --git
a/drivers/nvdimm/bus.c
b/drivers/nvdimm/bus.c
index
ef3d0f8
..
508aed0
100644
(file)
--- a/
drivers/nvdimm/bus.c
+++ b/
drivers/nvdimm/bus.c
@@
-271,7
+271,7
@@
EXPORT_SYMBOL_GPL(nvdimm_clear_poison);
static int nvdimm_bus_match(struct device *dev, struct device_driver *drv);
-static struct bus_type nvdimm_bus_type = {
+static
const
struct bus_type nvdimm_bus_type = {
.name = "nd",
.uevent = nvdimm_bus_uevent,
.match = nvdimm_bus_match,