fpi-device: Reduce padding on FpIdEntry to make space to new elements

This commit is contained in:
Marco Trevisan (Treviño)
2021-04-13 15:40:06 +02:00
parent c906b30cba
commit 344d5cb2a9
+7 -2
View File
@@ -55,6 +55,12 @@ struct _FpIdEntry
guint vid;
};
const gchar *virtual_envvar;
};
guint64 driver_data;
/* Elements added after TODv1 */
union
{
struct
{
FpiDeviceUdevSubtypeFlags udev_types;
@@ -66,11 +72,10 @@ struct _FpIdEntry
} hid_id;
};
};
guint64 driver_data;
/*< private >*/
/* padding for future expansion */
gpointer _padding_dummy[16];
gpointer _padding_dummy[13];
};
/**