diff --git a/drivers/watchdog/iTCO_vendor_support.c b/drivers/watchdog/iTCO_vendor_support.c index ca344a8..564974d 100644 --- a/drivers/watchdog/iTCO_vendor_support.c +++ b/drivers/watchdog/iTCO_vendor_support.c @@ -35,6 +35,8 @@ #include "iTCO_vendor.h" +#ifdef CONFIG_ITCO_VENDOR_SUPPORT + /* iTCO defines */ #define SMI_EN acpibase + 0x30 /* SMI Control and Enable Register */ #define TCOBASE acpibase + 0x60 /* TCO base address */ @@ -309,3 +311,5 @@ MODULE_DESCRIPTION("Intel TCO Vendor Specific WatchDog Timer Driver Support"); MODULE_VERSION(DRV_VERSION); MODULE_LICENSE("GPL"); +#endif +