mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
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: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
This commit is contained in:
parent
ddc141e5c6
commit
3013e17381
1 changed files with 3 additions and 0 deletions
|
@ -821,6 +821,9 @@ static int __init opal_init(void)
|
||||||
/* Create i2c platform devices */
|
/* Create i2c platform devices */
|
||||||
opal_pdev_init("ibm,opal-i2c");
|
opal_pdev_init("ibm,opal-i2c");
|
||||||
|
|
||||||
|
/* Handle non-volatile memory devices */
|
||||||
|
opal_pdev_init("pmem-region");
|
||||||
|
|
||||||
/* Setup a heatbeat thread if requested by OPAL */
|
/* Setup a heatbeat thread if requested by OPAL */
|
||||||
opal_init_heartbeat();
|
opal_init_heartbeat();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue