]> git.ozlabs.org Git - petitboot/commitdiff
Remove union in pb_opt_data
authorGeoff Levand <geoff@infradead.org>
Wed, 15 Feb 2012 19:23:55 +0000 (11:23 -0800)
committerGeoff 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

index 2dc37a30d8506cf722734d57b352b4afd8d81b4c..ca5edb4d8e60210ebfdee0d736de08641d159015 100644 (file)
@@ -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;
 };