board-nsa310.c 557 B

12345678910111213141516171819202122232425
  1. /*
  2. * arch/arm/mach-kirkwood/nsa-310-setup.c
  3. *
  4. * ZyXEL NSA-310 Setup
  5. *
  6. * This file is licensed under the terms of the GNU General Public
  7. * License version 2. This program is licensed "as is" without any
  8. * warranty of any kind, whether express or implied.
  9. */
  10. #include <linux/kernel.h>
  11. #include <linux/init.h>
  12. #include <mach/kirkwood.h>
  13. #include <linux/of.h>
  14. #include "common.h"
  15. static int __init nsa310_pci_init(void)
  16. {
  17. if (of_machine_is_compatible("zyxel,nsa310"))
  18. kirkwood_pcie_init(KW_PCIE0);
  19. return 0;
  20. }
  21. subsys_initcall(nsa310_pci_init);