1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-27 01:41:05 +02:00

[amazon] export amazon_get_cpu_hz

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19460 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hauke 2010-01-31 15:14:14 +00:00
parent 11288316a9
commit 110d8db5c7
4 changed files with 3 additions and 2 deletions

View File

@ -86,6 +86,7 @@ unsigned int amazon_get_fpi_hz(void)
/* '11' is reserved */
}
}
EXPORT_SYMBOL(amazon_get_fpi_hz);
/* this doesn't really belong here, but it's a convenient location */
unsigned int amazon_get_cpu_ver(void)

View File

@ -71,7 +71,6 @@ static void amazonasc_tx_chars(struct uart_port *port);
static struct uart_port amazonasc_ports[UART_NR];
static struct uart_driver amazonasc_reg;
static unsigned int uartclk = 0;
extern unsigned int amazon_get_fpi_hz(void);
static void amazonasc_stop_tx(struct uart_port *port)
{

View File

@ -44,7 +44,6 @@
#undef AMAZON_WDT_DEBUG
extern unsigned int amazon_get_fpi_hz(void);
static int amazon_wdt_isopen = 0;
#ifdef AMAZON_WDT_DEBUG

View File

@ -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