summaryrefslogtreecommitdiffstats
path: root/ui/common/discover-client.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2009-02-01 15:45:34 +1100
committerJeremy Kerr <jk@ozlabs.org>2009-02-01 16:03:18 +1100
commite48a0d17214a832cfcc42d937a26a4bbf732c25a (patch)
tree46361b4feb8f77275224fa06468514280b2937d6 /ui/common/discover-client.h
parent58821e4d5e593e4a828a1d79215e9480e9a6ca4f (diff)
downloadtalos-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.h2
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;
};
OpenPOWER on IntegriCloud