diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2009-02-01 15:45:34 +1100 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2009-02-01 16:03:18 +1100 |
commit | e48a0d17214a832cfcc42d937a26a4bbf732c25a (patch) | |
tree | 46361b4feb8f77275224fa06468514280b2937d6 /ui/common/discover-client.h | |
parent | 58821e4d5e593e4a828a1d79215e9480e9a6ca4f (diff) | |
download | talos-petitboot-e48a0d17214a832cfcc42d937a26a4bbf732c25a.tar.gz talos-petitboot-e48a0d17214a832cfcc42d937a26a4bbf732c25a.zip |
[discover client] Make devices persistent
Change discover client to keep devices around after they've been
added, and freed after removal.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/common/discover-client.h')
-rw-r--r-- | ui/common/discover-client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/common/discover-client.h b/ui/common/discover-client.h index 132da02..6fc964d 100644 --- a/ui/common/discover-client.h +++ b/ui/common/discover-client.h @@ -14,7 +14,7 @@ struct discover_client; struct discover_client_ops { int (*add_device)(const struct device *device, void *arg); - void (*remove_device)(const char *dev_id, void *arg); + void (*remove_device)(const struct device *device, void *arg); void *cb_arg; }; |