summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorsascha <sascha@nomad.localdomain>2007-10-19 13:13:17 +0200
committersascha <sascha@nomad.localdomain>2007-10-19 13:13:17 +0200
commit3c0323a650337816289dc1dcc113df717ecb3cd0 (patch)
tree77732472df3d33b646a8003cd9785eedfbed2e7a /lib
parentad72b775f1362be701a06034a1a682ac61659c29 (diff)
downloadbarebox-3c0323a650337816289dc1dcc113df717ecb3cd0.tar.gz
barebox-3c0323a650337816289dc1dcc113df717ecb3cd0.tar.xz
export symbols get_device_by_path and dev_add_child
Diffstat (limited to 'lib')
-rw-r--r--lib/driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/driver.c b/lib/driver.c
index b16a9e3841..a356b4e118 100644
--- a/lib/driver.c
+++ b/lib/driver.c
@@ -127,6 +127,7 @@ int dev_add_child(struct device_d *dev, struct device_d *child)
return 0;
}
+EXPORT_SYMBOL(dev_add_child);
struct driver_d *get_driver_by_name(const char *name)
{
@@ -181,6 +182,7 @@ struct device_d *get_device_by_path(const char *path)
return get_device_by_id(path + 5);
}
+EXPORT_SYMBOL(get_device_by_path);
ssize_t dev_read(struct device_d *dev, void *buf, size_t count, unsigned long offset, ulong flags)
{