]> git.ozlabs.org Git - petitboot/blobdiff - ui/common/discover-client.h
Add boot command structure to petitboot protocol description
[petitboot] / ui / common / discover-client.h
index d2a8fc4c15001002ab38d6c1851bb4c1ca72a6cf..4af936c57cf498644e51e75052f3a6278395463b 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef _DISCOVER_CLIENT_H
 #define _DISCOVER_CLIENT_H
 
-#include <pb-protocol/pb-protocol.h>
+#include <types/types.h>
 
 struct discover_client;
 
@@ -13,8 +13,8 @@ struct discover_client;
  */
 
 struct discover_client_ops {
-       int (*device_add)(const struct device *device, void *arg);
-       void (*device_remove)(const struct device *device, void *arg);
+       int (*device_add)(struct device *device, void *arg);
+       void (*device_remove)(struct device *device, void *arg);
        void *cb_arg;
 };