Use config's tools rather than #if's.
This commit is contained in:
parent
35742fef82
commit
06e7daa235
@ -797,7 +797,7 @@ pccard/pcic.c optional pcic card
|
|||||||
pci/amd.c optional amd
|
pci/amd.c optional amd
|
||||||
pci/pcic_p.c optional pcic pci
|
pci/pcic_p.c optional pcic pci
|
||||||
dev/bktr/bktr_core.c optional bktr 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_card.c optional bktr pci
|
||||||
dev/bktr/bktr_tuner.c optional bktr pci
|
dev/bktr/bktr_tuner.c optional bktr pci
|
||||||
dev/bktr/bktr_audio.c optional bktr pci
|
dev/bktr/bktr_audio.c optional bktr pci
|
||||||
|
@ -34,9 +34,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "bktr.h"
|
#include "bktr.h"
|
||||||
#include "smbus.h"
|
|
||||||
|
|
||||||
#if (NBKTR > 0 && NSMBUS > 0)
|
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/kernel.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);
|
DRIVER_MODULE(bti2c, root, bti2c_driver, bti2c_devclass, 0, 0);
|
||||||
#endif
|
|
||||||
|
Loading…
Reference in New Issue
Block a user