]> git.ozlabs.org Git - petitboot/blobdiff - discover/device-handler.c
Make device instance constant
[petitboot] / discover / device-handler.c
index 9e40fb1d71cd09b86dd7fbfcb92248f6cb00548b..8a4930e1efd565d8487f88875b26774adddcc882 100644 (file)
@@ -55,7 +55,7 @@ static struct device device = {
 
 int device_handler_get_current_devices(
                struct device_handler *handler __attribute__((unused)),
-               struct device **devices)
+               const struct device **devices)
 
 {
        *devices = &device;