projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39bfdc4
)
Remove union in pb_opt_data
author
Geoff Levand
<geoff@infradead.org>
Wed, 15 Feb 2012 19:23:55 +0000
(11:23 -0800)
committer
Geoff Levand
<geoff@infradead.org>
Wed, 15 Feb 2012 19:23:55 +0000
(11:23 -0800)
Signed-off-by: Geoff Levand <geoff@infradead.org>
ui/common/ui-system.h
patch
|
blob
|
history
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 */
- union {
- const struct device *dev;
- const struct boot_option *opt;
- };
+ const struct device *dev;
+ const struct boot_option *opt;
uint32_t opt_hash;
};