diff --git a/sys/conf/options b/sys/conf/options index 48e6668e7066..5cbb0d306af4 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -899,7 +899,7 @@ RCTL opt_global.h # At least one of the AR71XX ubiquiti boards has a Redboot configuration # that "lies" about the amount of RAM it has. Until a cleaner method is # defined, this option will suffice in overriding what Redboot says. -AR71XX_REALMEM opt_global.h -AR71XX_ENV_UBOOT opt_global.h -AR71XX_ENV_REDBOOT opt_global.h -AR71XX_ATH_EEPROM opt_global.h +AR71XX_REALMEM opt_ar71xx.h +AR71XX_ENV_UBOOT opt_ar71xx.h +AR71XX_ENV_REDBOOT opt_ar71xx.h +AR71XX_ATH_EEPROM opt_ar71xx.h diff --git a/sys/mips/atheros/ar71xx_machdep.c b/sys/mips/atheros/ar71xx_machdep.c index bcb5807163e1..e9f7c2d19b06 100644 --- a/sys/mips/atheros/ar71xx_machdep.c +++ b/sys/mips/atheros/ar71xx_machdep.c @@ -28,6 +28,7 @@ __FBSDID("$FreeBSD$"); #include "opt_ddb.h" +#include "opt_ar71xx.h" #include #include diff --git a/sys/mips/atheros/ar71xx_pci.c b/sys/mips/atheros/ar71xx_pci.c index 9e525482ef8e..d7f7715cadc5 100644 --- a/sys/mips/atheros/ar71xx_pci.c +++ b/sys/mips/atheros/ar71xx_pci.c @@ -28,6 +28,8 @@ #include __FBSDID("$FreeBSD$"); +#include "opt_ar71xx.h" + #include #include