summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/mcd/mcd.c3
-rw-r--r--sys/dev/scd/scd.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c
index ad6c2d9..2891117 100644
--- a/sys/dev/mcd/mcd.c
+++ b/sys/dev/mcd/mcd.c
@@ -1,3 +1,5 @@
+#include "opt_geom.h"
+#ifndef GEOM
/*
* Copyright 1993 by Holger Veit (data part)
* Copyright 1993 by Brian Moore (audio part)
@@ -1823,3 +1825,4 @@ mcd_resume(int unit)
return EINVAL;
return mcd_play(unit, &cd->lastpb);
}
+#endif /* GEOM */
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c
index e26d279..4199f18 100644
--- a/sys/dev/scd/scd.c
+++ b/sys/dev/scd/scd.c
@@ -1,3 +1,5 @@
+#include "opt_geom.h"
+#ifndef GEOM
/*-
* Copyright (c) 1995 Mikael Hybsch
* All rights reserved.
@@ -1546,3 +1548,4 @@ scd_toc_entry (int unit, struct ioc_read_toc_single_entry *te)
return 0;
}
+#endif
OpenPOWER on IntegriCloud