summaryrefslogtreecommitdiffstats
path: root/common/clock.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-10-07 14:27:24 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2007-10-07 14:27:24 +0200
commit2443c7a6f12bc330fcf88949786703d358f2f771 (patch)
tree97ebe4f57b46ae8414dd0fe170582c019aa0edff /common/clock.c
parentabb402d0083df191958638f0e5dd1a506b2ac2f8 (diff)
downloadbarebox-2443c7a6f12bc330fcf88949786703d358f2f771.tar.gz
export symbols
Diffstat (limited to 'common/clock.c')
-rw-r--r--common/clock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/clock.c b/common/clock.c
index fb2e0e4..4069d4e 100644
--- a/common/clock.c
+++ b/common/clock.c
@@ -54,6 +54,7 @@ uint64_t get_time_ns(void)
time_ns += ns_offset;
return time_ns;
}
+EXPORT_SYMBOL(get_time_ns);
/**
* clocksource_hz2mult - calculates mult from hz and shift
@@ -89,6 +90,7 @@ int is_timeout(uint64_t start_ns, uint64_t time_offset_ns)
else
return 0;
}
+EXPORT_SYMBOL(is_timeout);
void udelay(unsigned long usecs)
{
@@ -96,6 +98,7 @@ void udelay(unsigned long usecs)
while(!is_timeout(start, usecs * 1000));
}
+EXPORT_SYMBOL(udelay);
void mdelay(unsigned long msecs)
{
@@ -103,6 +106,7 @@ void mdelay(unsigned long msecs)
while(!is_timeout(start, msecs * 1000000));
}
+EXPORT_SYMBOL(mdelay);
int init_clock(struct clocksource *cs)
{