pmgr: Do not try to fix up virtual devs

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2021-11-01 18:57:22 +09:00
parent 84902062c9
commit 1edb18ac44

View file

@ -242,6 +242,10 @@ int pmgr_init(void)
device->name);
continue;
}
if ((pdevice->flags & PMGR_FLAG_VIRTUAL))
continue;
addr = pmgr_device_get_addr(pdevice);
if (!addr)
continue;