diff options
author | Geoff Levand <geoff@infradead.org> | 2012-02-15 11:23:55 -0800 |
---|---|---|
committer | Geoff Levand <geoff@infradead.org> | 2012-02-15 11:23:55 -0800 |
commit | 5cceb42c773aa404456417685ea50b2ada5570a2 (patch) | |
tree | 38cf40bf268e089955b307a9a2c37c14ed8a45d8 /ui | |
parent | 39bfdc44fdbc8091afa512bf44c70ac1b3ba15d4 (diff) | |
download | petitboot-5cceb42c773aa404456417685ea50b2ada5570a2.zip petitboot-5cceb42c773aa404456417685ea50b2ada5570a2.tar.gz |
Remove union in pb_opt_data
Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/common/ui-system.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/common/ui-system.h b/ui/common/ui-system.h index 2dc37a3..ca5edb4 100644 --- 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; }; |