summaryrefslogtreecommitdiffstats
path: root/discover/grub2/grub2.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-10-14 15:21:14 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-10-14 15:24:03 +0800
commitd2a32f50660d32885ee20b6e3b5bbabfecd2b4e9 (patch)
treea2da382364d70bcf8df4240e6b9447b1d4f1df90 /discover/grub2/grub2.h
parentdbc31f80771461921a0339ff21c11e00203307ec (diff)
downloadtalos-petitboot-d2a32f50660d32885ee20b6e3b5bbabfecd2b4e9.tar.gz
talos-petitboot-d2a32f50660d32885ee20b6e3b5bbabfecd2b4e9.zip
discover/grub2: Allow URL resources
Allow URL-format specifiers for GRUB2 resources. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/grub2/grub2.h')
-rw-r--r--discover/grub2/grub2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/grub2/grub2.h b/discover/grub2/grub2.h
index 5ee8503..1515d69 100644
--- a/discover/grub2/grub2.h
+++ b/discover/grub2/grub2.h
@@ -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);
OpenPOWER on IntegriCloud