]> git.ozlabs.org Git - petitboot/blobdiff - ui/common/ui-system.h
Remove union in pb_opt_data
[petitboot] / 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;
 };