diff options
author | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-01-31 15:14:14 +0000 |
---|---|---|
committer | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-01-31 15:14:14 +0000 |
commit | 110d8db5c7383a55946c0e95254496766a52f337 (patch) | |
tree | de037705e7a6fc24e69203ad8609a394e7a62202 /target/linux/amazon/files/include/asm-mips | |
parent | 11288316a9c2df37b5b1cb33d5a0ba38593341fb (diff) |
[amazon] export amazon_get_cpu_hz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19460 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/amazon/files/include/asm-mips')
-rw-r--r-- | target/linux/amazon/files/include/asm-mips/amazon/amazon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/amazon/files/include/asm-mips/amazon/amazon.h b/target/linux/amazon/files/include/asm-mips/amazon/amazon.h index 1ec3c3b994..28af7f59d2 100644 --- a/target/linux/amazon/files/include/asm-mips/amazon/amazon.h +++ b/target/linux/amazon/files/include/asm-mips/amazon/amazon.h @@ -29,6 +29,8 @@ #define amazon_writel(a,b) __raw_writel(a, ((u32*)(b))) #define amazon_writel_masked(a,b,c) __raw_writel((__raw_readl(((u32*)(a))) & ~b) | (c & b), ((u32*)(a))) +unsigned int amazon_get_fpi_hz(void); + #define IOPORT_RESOURCE_START 0x10000000 #define IOPORT_RESOURCE_END 0xffffffff #define IOMEM_RESOURCE_START 0x10000000 |