diff mbox

fix crash in synaptics_module_init()

Message ID 4D9370F202000078000392A9@vpn.id2.novell.com (mailing list archive)
State Accepted
Commit 708748670c7c6dd5bd3b141473086e6937e72737
Headers show

Commit Message

Jan Beulich March 30, 2011, 4:05 p.m. UTC
None
diff mbox

Patch

--- 2.6.39-rc1/drivers/input/mouse/synaptics.c
+++ 2.6.39-rc1-mouse-synaptics-dmi/drivers/input/mouse/synaptics.c
@@ -836,8 +836,8 @@  static const struct dmi_system_id __init
 		},
 
 	},
-	{ }
 #endif
+	{ }
 };
 
 static bool broken_olpc_ec;
@@ -851,8 +851,8 @@  static const struct dmi_system_id __init
 			DMI_MATCH(DMI_PRODUCT_NAME, "XO"),
 		},
 	},
-	{ }
 #endif
+	{ }
 };
 
 void __init synaptics_module_init(void)