diff --git a/sys/conf/files b/sys/conf/files index c94d645926d0..cd70e1cd7595 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -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 diff --git a/sys/dev/bktr/bktr_i2c.c b/sys/dev/bktr/bktr_i2c.c index 6f500ffdd504..039d008d6e30 100644 --- a/sys/dev/bktr/bktr_i2c.c +++ b/sys/dev/bktr/bktr_i2c.c @@ -34,9 +34,6 @@ */ #include "bktr.h" -#include "smbus.h" - -#if (NBKTR > 0 && NSMBUS > 0) #include #include @@ -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