]> git.ozlabs.org Git - petitboot/blobdiff - discover/grub2/grub2.h
discover/grub2: Implement 'linux' & 'initrd' commands
[petitboot] / discover / grub2 / grub2.h
index 2de77a280b96ce97f2bbcefaa680ade0fc676221..4949f3c031a9027f4aa5e42c9c92626ff5258535 100644 (file)
@@ -85,10 +85,6 @@ struct grub2_parser {
        struct grub2_script     *script;
 };
 
-struct grub2_root {
-       char *uuid;
-};
-
 /* type for builtin functions */
 typedef int (*grub2_function)(struct grub2_script *script, void *data,
                                int argc, char *argv[]);
@@ -150,7 +146,7 @@ void register_builtins(struct grub2_script *script);
 /* resources */
 struct resource *create_grub2_resource(void *ctx,
                struct discover_device *orig_device,
-               struct grub2_root *root, const char *path);
+               const char *root, const char *path);
 
 bool resolve_grub2_resource(struct device_handler *handler,
                struct resource *res);