mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
Since opti_detect is now only called on !PC98 machines, only declare
and define there as well. This should fix the pc98 tinderbox.
This commit is contained in:
parent
09c666c10e
commit
d78baf42dc
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue