summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2012-02-15 11:23:55 -0800
committerGeoff Levand <geoff@infradead.org>2012-02-15 11:23:55 -0800
commit5cceb42c773aa404456417685ea50b2ada5570a2 (patch)
tree38cf40bf268e089955b307a9a2c37c14ed8a45d8
parent39bfdc44fdbc8091afa512bf44c70ac1b3ba15d4 (diff)
downloadtalos-petitboot-5cceb42c773aa404456417685ea50b2ada5570a2.tar.gz
talos-petitboot-5cceb42c773aa404456417685ea50b2ada5570a2.zip
Remove union in pb_opt_data
Signed-off-by: Geoff Levand <geoff@infradead.org>
-rw-r--r--ui/common/ui-system.h6
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;
};
OpenPOWER on IntegriCloud