summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/pmc.c
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2001-10-28 04:16:50 +0000
committernyan <nyan@FreeBSD.org>2001-10-28 04:16:50 +0000
commit743ea98fc51e4f6fe06f2bd4ed47436ccde4033f (patch)
tree1b5ff8dea600f28525dba36c86146197a49eec07 /sys/pc98/cbus/pmc.c
parent4394f0950fa4e30748b050da232d8619c334fd01 (diff)
downloadFreeBSD-src-743ea98fc51e4f6fe06f2bd4ed47436ccde4033f.zip
FreeBSD-src-743ea98fc51e4f6fe06f2bd4ed47436ccde4033f.tar.gz
Removed pmc_isa_identify function. It is not needed.
Submitted by: takawata
Diffstat (limited to 'sys/pc98/cbus/pmc.c')
-rw-r--r--sys/pc98/cbus/pmc.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/pc98/cbus/pmc.c b/sys/pc98/cbus/pmc.c
index fe201e9..feafd8b 100644
--- a/sys/pc98/cbus/pmc.c
+++ b/sys/pc98/cbus/pmc.c
@@ -226,21 +226,8 @@ pmc_isa_detach(device_t dev)
return 0;
}
-#ifdef KLD_MODULE
-static void
-pmc_isa_identify(driver_t *drv, device_t dev)
-{
- if (BUS_ADD_CHILD(dev, ISA_ORDER_SPECULATIVE, "pmc", 0) == NULL) {
- printf("failed to add pmc driver\n");
- }
-}
-#endif
-
static device_method_t pmc_isa_methods[] = {
/* Device interface */
-#ifdef KLD_MODULE
- DEVMETHOD(device_identify, pmc_isa_identify),
-#endif
DEVMETHOD(device_probe, pmc_isa_probe),
DEVMETHOD(device_attach, pmc_isa_attach),
DEVMETHOD(device_detach, pmc_isa_detach),
OpenPOWER on IntegriCloud