Export module alias information in g762 and nct7904 to support auto-loading.
Blacklist Dell Studio XPS 8100 in dell-smm to fix fan control problems. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVxMMDAAoJEMsfJm/On5mBKh8QAIzaswq1000jS2vTjlzVNfwF SzmyQ3CesSAUKT99rRe5ENgZom2ozgBMNqlx+5rrlbKwb62GcPdsHFAIXrjH6O3E pG2nbD9L91YWQgTSYecF+1sIzfBl+QFk2p6rKiUZgifpKUYELZnU4KqY/6cQSiwK GIuuDbEzpT3tAuPHgRRMb7K5Cu1AWtzgd3IkntyRgtjuC3OiYKHK9kXKWlFS3Xkw aYdapABTcJWAq5kcwuy+Lwv9OPOQydf1Y+Dw/OISdrdhTRR8jW5Dm1Xq8OCTgri0 Z4ibOtVUnlOCLp/t8m1Nq59UN55HJGLyZiG/NR4SyJgriyrqq8BfKeS8G3V1f5qd d7IvVifQILJmFmvpERDkQ3wpwB+9Ed2CXadZ9jveQuSK4RjSU7Z4u+661LgXw9BJ NCT43qaMbACH2HDdmgD+LO81W3pWeY9JQX1Os/LQ7oXwgWzcoY4AWy76NmxVG9o2 wCvRBPcTvWg50gYwfeOgCjUw0WAnX8E3d6kgX63h/illUy+Mu7BzzPDzHGibKT3M Y0g0srS+600qV0VtHBskvFM9rjO47p4kJPgZxUJ9j6ruqfdrx7aBGC0RbKMCrl7r ex0ENPQyeKuu2FVF6E7acDK9iZleq3qlohBRv68dojcwRkLOVrYbyGjXjkXBY0ru H/zRgd2VrXRQiLbEC6Px =VZ6x -----END PGP SIGNATURE----- Merge tag 'hwmon-for-linus-v4.2-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging Pull hwmon fixes from Guenter Roeck: - Export module alias information in g762 and nct7904 to support auto-loading. - Blacklist Dell Studio XPS 8100 in dell-smm to fix fan control problems. * tag 'hwmon-for-linus-v4.2-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: hwmon: (g762) Export OF module alias information hwmon: (nct7904) Export I2C module alias information hwmon: (dell-smm) Blacklist Dell Studio XPS 8100
This commit is contained in:
commit
ea8dc1abeb
3 changed files with 19 additions and 1 deletions
|
@ -929,6 +929,21 @@ static struct dmi_system_id i8k_dmi_table[] __initdata = {
|
||||||
|
|
||||||
MODULE_DEVICE_TABLE(dmi, i8k_dmi_table);
|
MODULE_DEVICE_TABLE(dmi, i8k_dmi_table);
|
||||||
|
|
||||||
|
static struct dmi_system_id i8k_blacklist_dmi_table[] __initdata = {
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* CPU fan speed going up and down on Dell Studio XPS 8100
|
||||||
|
* for unknown reasons.
|
||||||
|
*/
|
||||||
|
.ident = "Dell Studio XPS 8100",
|
||||||
|
.matches = {
|
||||||
|
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
|
||||||
|
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Studio XPS 8100"),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{ }
|
||||||
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Probe for the presence of a supported laptop.
|
* Probe for the presence of a supported laptop.
|
||||||
*/
|
*/
|
||||||
|
@ -940,7 +955,8 @@ static int __init i8k_probe(void)
|
||||||
/*
|
/*
|
||||||
* Get DMI information
|
* Get DMI information
|
||||||
*/
|
*/
|
||||||
if (!dmi_check_system(i8k_dmi_table)) {
|
if (!dmi_check_system(i8k_dmi_table) ||
|
||||||
|
dmi_check_system(i8k_blacklist_dmi_table)) {
|
||||||
if (!ignore_dmi && !force)
|
if (!ignore_dmi && !force)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
|
|
|
@ -582,6 +582,7 @@ static const struct of_device_id g762_dt_match[] = {
|
||||||
{ .compatible = "gmt,g763" },
|
{ .compatible = "gmt,g763" },
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(of, g762_dt_match);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Grab clock (a required property), enable it, get (fixed) clock frequency
|
* Grab clock (a required property), enable it, get (fixed) clock frequency
|
||||||
|
|
|
@ -575,6 +575,7 @@ static const struct i2c_device_id nct7904_id[] = {
|
||||||
{"nct7904", 0},
|
{"nct7904", 0},
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(i2c, nct7904_id);
|
||||||
|
|
||||||
static struct i2c_driver nct7904_driver = {
|
static struct i2c_driver nct7904_driver = {
|
||||||
.class = I2C_CLASS_HWMON,
|
.class = I2C_CLASS_HWMON,
|
||||||
|
|
Loading…
Add table
Reference in a new issue