summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2008-04-11 17:16:19 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2008-04-11 17:16:19 +0000
commit9cb3ef6efe444a9730306e57f9b372de22800c51 (patch)
treeb92cb3fb71426e5eaa15b0bd8200cd745831732c
parent429cc1009b221987e96cf58ad9e757cbfa6f52e4 (diff)
Notes
-rw-r--r--sys/dev/asmc/asmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/asmc/asmc.c b/sys/dev/asmc/asmc.c
index ae39c3e7f486..d9dcd2e65a55 100644
--- a/sys/dev/asmc/asmc.c
+++ b/sys/dev/asmc/asmc.c
@@ -254,7 +254,7 @@ asmc_probe(device_t dev)
{
struct asmc_model *model;
- if (acpi_disabled("asmc"))
+ if (resource_disabled("asmc", 0))
return (ENXIO);
if (ACPI_ID_PROBE(device_get_parent(dev), dev, asmc_ids) == NULL)
return (ENXIO);