diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-02-16 08:17:52 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-02-16 08:17:52 +0000 |
commit | 98f7b387351b0b540ca76edd84452290a146de5b (patch) | |
tree | 2276b58f8fa7d57cb6007026ca5c4ef53eca051c /target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x.h | |
parent | 33bf9bc63bfa888a008a19a6a92f69ef3042f707 (diff) | |
download | master-187ad058-98f7b387351b0b540ca76edd84452290a146de5b.tar.gz master-187ad058-98f7b387351b0b540ca76edd84452290a146de5b.tar.bz2 master-187ad058-98f7b387351b0b540ca76edd84452290a146de5b.zip |
ramips: rt288x: don't register the PCI controller on each board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30574 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x.h')
-rw-r--r-- | target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x.h index 3eb036fbb8..29c7a72050 100644 --- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x.h +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x.h @@ -66,4 +66,10 @@ static inline u32 rt288x_memc_rr(unsigned reg) void rt288x_gpio_init(u32 mode); +#ifdef CONFIG_PCI +int rt288x_register_pci(void); +#else +static inline int rt288x_register_pci(void) { return 0; } +#endif /* CONFIG_PCI */ + #endif /* _RT228X_H_ */ |