Use config's tools rather than #if's.

This commit is contained in:
peter 2000-01-29 18:54:12 +00:00
parent 35742fef82
commit 06e7daa235
2 changed files with 1 additions and 5 deletions

View File

@ -797,7 +797,7 @@ pccard/pcic.c optional pcic card
pci/amd.c optional amd
pci/pcic_p.c optional pcic pci
dev/bktr/bktr_core.c optional bktr pci
dev/bktr/bktr_i2c.c optional bktr pci
dev/bktr/bktr_i2c.c optional bktr pci smbus
dev/bktr/bktr_card.c optional bktr pci
dev/bktr/bktr_tuner.c optional bktr pci
dev/bktr/bktr_audio.c optional bktr pci

View File

@ -34,9 +34,6 @@
*/
#include "bktr.h"
#include "smbus.h"
#if (NBKTR > 0 && NSMBUS > 0)
#include <sys/param.h>
#include <sys/kernel.h>
@ -422,4 +419,3 @@ bti2c_smb_readb(device_t dev, u_char slave, char cmd, char *byte)
}
DRIVER_MODULE(bti2c, root, bti2c_driver, bti2c_devclass, 0, 0);
#endif