Message ID | 20171115175131.23631-3-oohall@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [1/3] libnvdimm: Add of_node to region and bus descriptors | expand |
diff --git a/arch/powerpc/platforms/powernv/opal.c b/arch/powerpc/platforms/powernv/opal.c index 65c79ecf5a4d..32df0d44f086 100644 --- a/arch/powerpc/platforms/powernv/opal.c +++ b/arch/powerpc/platforms/powernv/opal.c @@ -831,6 +831,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("nvdimm-bus"); + /* Setup a heatbeat thread if requested by OPAL */ opal_init_heartbeat();
Scan the devicetree for an nvdimm-bus compatible and create a platform device for them. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> --- arch/powerpc/platforms/powernv/opal.c | 3 +++ 1 file changed, 3 insertions(+)