Make device instance constant
[petitboot] / discover / device-handler.h
index cd28420a4056ae2a5318715514fb7e65b21b6bb7..01179f289667af56147ceee468ed6933a429a11f 100644 (file)
@@ -25,7 +25,7 @@ struct device_handler *device_handler_init(struct discover_server *server);
 void device_handler_destroy(struct device_handler *devices);
 
 int device_handler_get_current_devices(struct device_handler *handler,
 void device_handler_destroy(struct device_handler *devices);
 
 int device_handler_get_current_devices(struct device_handler *handler,
-               struct device **devices);
+               const struct device **devices);
 
 int device_handler_event(struct device_handler *handler,
                struct udev_event *event);
 
 int device_handler_event(struct device_handler *handler,
                struct udev_event *event);