mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
pmgr: Do not try to fix up virtual devs
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
84902062c9
commit
1edb18ac44
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue