Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3013e173 authored by Oliver O'Halloran's avatar Oliver O'Halloran Committed by Dan Williams
Browse files

powerpc/powernv: Create platform devs for nvdimm buses



Scan the devicetree for an nvdimm-bus compatible and create
a platform device for them.

Signed-off-by: default avatarOliver O'Halloran <oohall@gmail.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent ddc141e5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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();