]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/input/mouse/synaptics.c
Input: synaptics - fix crash in synaptics_module_init()
[karo-tx-linux.git] / drivers / input / mouse / synaptics.c
index aa186cf6c514526fec46d40d4d5a47bbe38af0e9..e06e045bf907a4a77ed33998b94ad29438e6c542 100644 (file)
@@ -836,8 +836,8 @@ static const struct dmi_system_id __initconst toshiba_dmi_table[] = {
                },
 
        },
-       { }
 #endif
+       { }
 };
 
 static bool broken_olpc_ec;
@@ -851,8 +851,8 @@ static const struct dmi_system_id __initconst olpc_dmi_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "XO"),
                },
        },
-       { }
 #endif
+       { }
 };
 
 void __init synaptics_module_init(void)