projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddc141e
)
powerpc/powernv: Create platform devs for nvdimm buses
author
Oliver O'Halloran
<oohall@gmail.com>
Fri, 6 Apr 2018 05:21:16 +0000
(15:21 +1000)
committer
Dan Williams
<dan.j.williams@intel.com>
Sat, 7 Apr 2018 14:53:23 +0000
(07:53 -0700)
Scan the devicetree for an nvdimm-bus compatible and create
a platform device for them.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
arch/powerpc/platforms/powernv/opal.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/powernv/opal.c
b/arch/powerpc/platforms/powernv/opal.c
index c15182765ff59a4809ac5777a8bdeb4fae0b89e9..c37485a3c5c99a5f6eeed7cff996c7ad73b14e90 100644
(file)
--- a/
arch/powerpc/platforms/powernv/opal.c
+++ b/
arch/powerpc/platforms/powernv/opal.c
@@
-821,6
+821,9
@@
static int __init opal_init(void)
/* Create i2c platform devices */
opal_pdev_init("ibm,opal-i2c");
+ /* Handle non-volatile memory devices */
+ opal_pdev_init("pmem-region");
+
/* Setup a heatbeat thread if requested by OPAL */
opal_init_heartbeat();