X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Fcommon%2Fui-system.h;h=82f630ea62397a6503bcbefe12bbfc83af02057d;hp=b75c4d1bfecbe45ff766354a912af37714479305;hb=6b842bb2559116a949c6a569ac39f5c56ebc1be1;hpb=6eb39a03bf66d91c37ca5d14dd61a90850a921d3 diff --git a/ui/common/ui-system.h b/ui/common/ui-system.h index b75c4d1..82f630e 100644 --- a/ui/common/ui-system.h +++ b/ui/common/ui-system.h @@ -27,13 +27,13 @@ #include -struct pb_kexec_data { +struct pb_boot_data { char *image; char *initrd; char *args; }; -int pb_run_kexec(const struct pb_kexec_data *kd, int dry_run); +int pb_run_kexec(const struct pb_boot_data *bd, int dry_run); int pb_start_daemon(void); unsigned int pb_elf_hash(const char *str); @@ -47,7 +47,7 @@ static inline uint32_t pb_opt_hash(const struct device *dev, struct pb_opt_data { const char *name; - struct pb_kexec_data *kd; + struct pb_boot_data *bd; /* optional data */ const struct device *dev;