Commit 785cfc03 authored by Lee, Chun-Yi's avatar Lee, Chun-Yi Committed by Matthew Garrett

Move N014, N051 and CR620 dmi information to load scm dmi table

Found the N014, N051 and CR620 are must the same with N034 there are
load scm serial model. So, this patch move N014, N051 and CR620 dmi
information to right dmi table: msi_load_scm_models_dmi_table[]
Signed-off-by: default avatarLee, Chun-Yi <jlee@novell.com>
parent b7670ed6
...@@ -480,6 +480,21 @@ static struct dmi_system_id __initdata msi_dmi_table[] = { ...@@ -480,6 +480,21 @@ static struct dmi_system_id __initdata msi_dmi_table[] = {
}, },
.callback = dmi_check_cb .callback = dmi_check_cb
}, },
{ }
};
static struct dmi_system_id __initdata msi_load_scm_models_dmi_table[] = {
{
.ident = "MSI N034",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR,
"MICRO-STAR INTERNATIONAL CO., LTD"),
DMI_MATCH(DMI_PRODUCT_NAME, "MS-N034"),
DMI_MATCH(DMI_CHASSIS_VENDOR,
"MICRO-STAR INTERNATIONAL CO., LTD")
},
.callback = dmi_check_cb
},
{ {
.ident = "MSI N051", .ident = "MSI N051",
.matches = { .matches = {
...@@ -512,21 +527,6 @@ static struct dmi_system_id __initdata msi_dmi_table[] = { ...@@ -512,21 +527,6 @@ static struct dmi_system_id __initdata msi_dmi_table[] = {
{ } { }
}; };
static struct dmi_system_id __initdata msi_load_scm_models_dmi_table[] = {
{
.ident = "MSI N034",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR,
"MICRO-STAR INTERNATIONAL CO., LTD"),
DMI_MATCH(DMI_PRODUCT_NAME, "MS-N034"),
DMI_MATCH(DMI_CHASSIS_VENDOR,
"MICRO-STAR INTERNATIONAL CO., LTD")
},
.callback = dmi_check_cb
},
{ }
};
static int rfkill_bluetooth_set(void *data, bool blocked) static int rfkill_bluetooth_set(void *data, bool blocked)
{ {
/* Do something with blocked...*/ /* Do something with blocked...*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment