Input: i8042 - move __initconst to fix code styling warning
authorWerner Sembach <wse@tuxedocomputers.com>
Thu, 30 Jun 2022 00:34:42 +0000 (17:34 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 30 Jun 2022 00:41:05 +0000 (17:41 -0700)
Move __intconst from before i8042_dmi_laptop_table[] to after it for
consistent code styling.

Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220629112725.12922-2-wse@tuxedocomputers.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/i8042-x86ia64io.h

index 148a7c5..91c6f24 100644 (file)
@@ -791,7 +791,7 @@ static const struct dmi_system_id __initconst i8042_dmi_nopnp_table[] = {
        { }
 };
 
-static const struct dmi_system_id __initconst i8042_dmi_laptop_table[] = {
+static const struct dmi_system_id i8042_dmi_laptop_table[] __initconst = {
        {
                .matches = {
                        DMI_MATCH(DMI_CHASSIS_TYPE, "8"), /* Portable */