]> git.ozlabs.org Git - petitboot/blobdiff - ui/test/pb-test.c
Rename client add remove ops
[petitboot] / ui / test / pb-test.c
index a1e3007c46ff8ddc21d9250d09f41c16d3c60130..69f65fb6ec018f0ff344b35614f0d6895a8ecc63 100644 (file)
@@ -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)