c3097bcd0a4df4037afd9a4e17c5d0c422f988e1
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.18 / 737-MIPS-ath79-add-om5p-an-support.patch
1 --- a/arch/mips/ath79/machtypes.h
2 +++ b/arch/mips/ath79/machtypes.h
3 @@ -85,6 +85,7 @@ enum ath79_mach_type {
4 ATH79_MACH_OM2P_LC, /* OpenMesh OM2P-LC */
5 ATH79_MACH_OM2Pv2, /* OpenMesh OM2Pv2 */
6 ATH79_MACH_OM2P, /* OpenMesh OM2P */
7 + ATH79_MACH_OM5P_AN, /* OpenMesh OM5P-AN */
8 ATH79_MACH_OM5P, /* OpenMesh OM5P */
9 ATH79_MACH_PB42, /* Atheros PB42 */
10 ATH79_MACH_PB92, /* Atheros PB92 */
11 --- a/arch/mips/ath79/Kconfig
12 +++ b/arch/mips/ath79/Kconfig
13 @@ -719,6 +719,7 @@ config ATH79_MACH_OM2P
14 config ATH79_MACH_OM5P
15 bool "OpenMesh OM5P board support"
16 select SOC_AR934X
17 + select ATH79_DEV_AP9X_PCI if PCI
18 select ATH79_DEV_ETH
19 select ATH79_DEV_GPIO_BUTTONS
20 select ATH79_DEV_LEDS_GPIO