[amazon] export amazon_get_cpu_hz
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 31 Jan 2010 15:14:14 +0000 (15:14 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 31 Jan 2010 15:14:14 +0000 (15:14 +0000)
SVN-Revision: 19460

target/linux/amazon/files/arch/mips/amazon/setup.c
target/linux/amazon/files/drivers/serial/amazon_asc.c
target/linux/amazon/files/drivers/watchdog/amazon_wdt.c
target/linux/amazon/files/include/asm-mips/amazon/amazon.h

index f3ebdbfbdfe087757bacbd04916233167b777aa0..ff1a109d44d83a7a5bb5b4c6ed5eafe60f09de3f 100644 (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)
index a32d979186cae8a10b35002ad3baa69d561c1160..449208616bd68bb77c8f771b75b8d821f33ad200 100644 (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)
 {
index 6e1eb799a3a118dedcb51176a259df352f4fd557..fcf1649d8512a840f3f44ceedbbba327216121b9 100644 (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
index 1ec3c3b994f65278ec32e028fdaf5cfbb4c2e50a..28af7f59d2d2a15e27a9c02b7155d29259cbb9d1 100644 (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