discover/grub2: Allow URL resources
[petitboot] / discover / grub2 / grub2.h
index 5ee8503dbf88af6c0db0934c075faac3cf3c24db..1515d690a528ed1931ec1d07692748da09b8bb38 100644 (file)
@@ -167,7 +167,7 @@ void script_register_function(struct grub2_script *script,
 void register_builtins(struct grub2_script *script);
 
 /* resources */
-struct resource *create_grub2_resource(void *ctx,
+struct resource *create_grub2_resource(struct discover_boot_option *opt,
                struct discover_device *orig_device,
                const char *root, const char *path);