aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dpms/dpms.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2009-10-19 23:09:39 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2009-10-19 23:09:39 +0000
commit494d4d251b0ae699839bcbbc936adc1ad4fdf464 (patch)
tree00b1f6375ada571a8885e7c65f01ed5af72f5b69 /sys/dev/dpms/dpms.c
parentc3514114c6d669804287cc9edda959207ad19eb3 (diff)
Notes
Diffstat (limited to 'sys/dev/dpms/dpms.c')
-rw-r--r--sys/dev/dpms/dpms.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/dpms/dpms.c b/sys/dev/dpms/dpms.c
index 58e2f377bc77..7e097c51f2f0 100644
--- a/sys/dev/dpms/dpms.c
+++ b/sys/dev/dpms/dpms.c
@@ -129,9 +129,8 @@ dpms_identify(driver_t *driver, device_t parent)
if (devclass_get_device(dpms_devclass, 0) != NULL)
return;
- if ((x86bios_match_device(0xc0000, parent) &&
- device_get_flags(parent) != 0) ||
- x86bios_get_orm(0xc0000) != NULL)
+ if (x86bios_match_device(0xc0000, parent) &&
+ device_get_flags(parent) != 0)
device_add_child(parent, "dpms", 0);
}