Linux-libre 3.10.70-gnu
[librecmc/linux-libre.git] / arch / arm / mach-kirkwood / board-nsa310.c
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
11 #include <linux/kernel.h>
12 #include <linux/init.h>
13 #include <mach/kirkwood.h>
14 #include <linux/of.h>
15 #include "common.h"
16
17 static int __init nsa310_pci_init(void)
18 {
19         if (of_machine_is_compatible("zyxel,nsa310"))
20                 kirkwood_pcie_init(KW_PCIE0);
21
22         return 0;
23 }
24
25 subsys_initcall(nsa310_pci_init);