1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -88,6 +88,20 @@ config SOC_AR934X
4 select PCI_AR724X if PCI
7 +config ATH79_DEV_M25P80
11 +config ATH79_DEV_AP9X_PCI
12 + select ATH79_PCI_ATH9K_FIXUP
24 @@ -107,4 +121,10 @@ config ATH79_DEV_WMAC
25 depends on (SOC_AR913X || SOC_AR933X || SOC_AR934X)
31 +config ATH79_PCI_ATH9K_FIXUP
35 --- a/arch/mips/ath79/Makefile
36 +++ b/arch/mips/ath79/Makefile
37 @@ -17,13 +17,23 @@ obj-$(CONFIG_PCI) += pci.o
41 +obj-$(CONFIG_ATH79_DEV_AP9X_PCI) += dev-ap9x-pci.o
42 +obj-$(CONFIG_ATH79_DEV_DSA) += dev-dsa.o
43 +obj-$(CONFIG_ATH79_DEV_ETH) += dev-eth.o
44 obj-$(CONFIG_ATH79_DEV_GPIO_BUTTONS) += dev-gpio-buttons.o
45 obj-$(CONFIG_ATH79_DEV_LEDS_GPIO) += dev-leds-gpio.o
46 +obj-$(CONFIG_ATH79_DEV_M25P80) += dev-m25p80.o
47 obj-$(CONFIG_ATH79_DEV_SPI) += dev-spi.o
48 obj-$(CONFIG_ATH79_DEV_USB) += dev-usb.o
49 obj-$(CONFIG_ATH79_DEV_WMAC) += dev-wmac.o
52 +# Miscellaneous objects
54 +obj-$(CONFIG_ATH79_NVRAM) += nvram.o
55 +obj-$(CONFIG_ATH79_PCI_ATH9K_FIXUP) += pci-ath9k-fixup.o
60 obj-$(CONFIG_ATH79_MACH_AP121) += mach-ap121.o