999-non-pci-mt7620.patch 447 B

123456789101112
  1. --- a/arch/mips/ralink/mt7620.c
  2. +++ b/arch/mips/ralink/mt7620.c
  3. @@ -535,9 +535,6 @@ void prom_soc_init(struct ralink_soc_inf
  4. ralink_soc = MT762X_SOC_MT7620N;
  5. name = "MT7620N";
  6. soc_info->compatible = "ralink,mt7620n-soc";
  7. -#ifdef CONFIG_PCI
  8. - panic("mt7620n is only supported for non pci kernels");
  9. -#endif
  10. }
  11. } else if (n0 == MT7620_CHIP_NAME0 && n1 == MT7628_CHIP_NAME1) {
  12. u32 efuse = __raw_readl(sysc + SYSC_REG_EFUSE_CFG);