projects
/
petitboot
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove union in pb_opt_data
[petitboot]
/
ui
/
common
/
ui-system.h
diff --git
a/ui/common/ui-system.h
b/ui/common/ui-system.h
index 2dc37a30d8506cf722734d57b352b4afd8d81b4c..ca5edb4d8e60210ebfdee0d736de08641d159015 100644
(file)
--- a/
ui/common/ui-system.h
+++ b/
ui/common/ui-system.h
@@
-47,10
+47,8
@@
struct pb_opt_data {
struct pb_kexec_data *kd;
/* optional data */
struct pb_kexec_data *kd;
/* optional data */
- union {
- const struct device *dev;
- const struct boot_option *opt;
- };
+ const struct device *dev;
+ const struct boot_option *opt;
uint32_t opt_hash;
};
uint32_t opt_hash;
};