summaryrefslogtreecommitdiffstats
path: root/ui/test
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2009-03-25 12:36:04 +0000
committerJeremy Kerr <jk@ozlabs.org>2009-03-30 20:34:13 +1100
commit47a9f94bb346817b6767d5dac578a43beee47c1f (patch)
tree65b56e1e6836a4da19f8fd3231345847d1f31b54 /ui/test
parent2444ff11876f6cdcccbf509bbc8fac9535bc56d4 (diff)
downloadtalos-petitboot-47a9f94bb346817b6767d5dac578a43beee47c1f.tar.gz
talos-petitboot-47a9f94bb346817b6767d5dac578a43beee47c1f.zip
Rename client add remove ops
For consistency, rename the symbols add_device and remove_device to device_add and device_remove. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/test')
-rw-r--r--ui/test/pb-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/test/pb-test.c b/ui/test/pb-test.c
index a1e3007..69f65fb 100644
--- a/ui/test/pb-test.c
+++ b/ui/test/pb-test.c
@@ -37,8 +37,8 @@ static void print_device_remove(const struct device *device,
}
static struct discover_client_ops client_ops = {
- .add_device = print_device_add,
- .remove_device = print_device_remove,
+ .device_add = print_device_add,
+ .device_remove = print_device_remove,
};
int main(void)
OpenPOWER on IntegriCloud