diff options
author | imp <imp@FreeBSD.org> | 2005-09-12 04:12:50 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-09-12 04:12:50 +0000 |
commit | 3f6701edb290f9c35d9760715410230d44efb821 (patch) | |
tree | 428fb67971c8ee2fe2e0697e1774aea56953e38d | |
parent | 4c950692376cba3d1c3eebc51559d8e5c562d01a (diff) | |
download | FreeBSD-src-3f6701edb290f9c35d9760715410230d44efb821.zip FreeBSD-src-3f6701edb290f9c35d9760715410230d44efb821.tar.gz |
Since opti_detect is now only called on !PC98 machines, only declare
and define there as well. This should fix the pc98 tinderbox.
-rw-r--r-- | sys/dev/sound/isa/mss.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/sound/isa/mss.c b/sys/dev/sound/isa/mss.c index d69a32f..8c1ac50 100644 --- a/sys/dev/sound/isa/mss.c +++ b/sys/dev/sound/isa/mss.c @@ -92,7 +92,9 @@ static driver_intr_t mss_intr; /* prototypes for local functions */ static int mss_detect(device_t dev, struct mss_info *mss); +#ifndef PC98 static int opti_detect(device_t dev, struct mss_info *mss); +#endif static char *ymf_test(device_t dev, struct mss_info *mss); static void ad_unmute(struct mss_info *mss); @@ -1592,6 +1594,7 @@ no: return ENXIO; } +#ifndef PC98 static int opti_detect(device_t dev, struct mss_info *mss) { @@ -1637,6 +1640,7 @@ opti_detect(device_t dev, struct mss_info *mss) } return 0; } +#endif static char * ymf_test(device_t dev, struct mss_info *mss) |