projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
55b8d75
)
device: export device_broadcast_event
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 5 Jul 2012 13:09:40 +0000
(15:09 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 5 Jul 2012 13:10:43 +0000
(15:10 +0200)
device.c
patch
|
blob
|
history
device.h
patch
|
blob
|
history
diff --git
a/device.c
b/device.c
index
a2d5637
..
82c83d1
100644
(file)
--- a/
device.c
+++ b/
device.c
@@
-240,7
+240,7
@@
static void __init dev_init(void)
avl_init(&aliases, avl_strcmp, false, NULL);
}
avl_init(&aliases, avl_strcmp, false, NULL);
}
-
static
void device_broadcast_event(struct device *dev, enum device_event ev)
+void device_broadcast_event(struct device *dev, enum device_event ev)
{
struct device_user *dep, *tmp;
{
struct device_user *dep, *tmp;
diff --git
a/device.h
b/device.h
index
c76c472
..
3f8dc37
100644
(file)
--- a/
device.h
+++ b/
device.h
@@
-163,6
+163,7
@@
void device_cleanup(struct device *iface);
struct device *device_get(const char *name, int create);
void device_add_user(struct device_user *dep, struct device *iface);
void device_remove_user(struct device_user *dep);
struct device *device_get(const char *name, int create);
void device_add_user(struct device_user *dep, struct device *iface);
void device_remove_user(struct device_user *dep);
+void device_broadcast_event(struct device *dev, enum device_event ev);
void device_set_present(struct device *dev, bool state);
void device_refresh_present(struct device *dev);
void device_set_present(struct device *dev, bool state);
void device_refresh_present(struct device *dev);