diff options
author | Stefan Bader <stefan.bader@canonical.com> | 2009-12-21 19:20:04 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-24 00:16:28 -0500 |
commit | bdc731bc5fcd1794e9ac8ac80c389d302381c123 (patch) | |
tree | 1f0887517e4eae760ebf9b404c5519644e6eb322 /drivers/platform | |
parent | 936c8bcd7f5b418d0e040be539ceb4d2ac3bc0b8 (diff) |
acerhdf: limit modalias matching to supported
BugLink: https://bugs.launchpad.net/ubuntu/+bug/435958
The module alias currently matches any Acer computer but when loaded the
BIOS checks will only succeed on Aspire One models. This causes a invalid
BIOS warning for all other models (seen on Aspire 4810T). This is not
fatal but worries users that see this message. Limiting the moule alias
to models starting with AOA or DOA for Packard Bell.
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Borislav Petkov <petkovbb@gmail.com>
Acked-by: Peter Feuerer <peter@piie.net>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/acerhdf.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/platform/x86/acerhdf.c b/drivers/platform/x86/acerhdf.c index 79b15b9d9cf0..007bc55b9869 100644 --- a/drivers/platform/x86/acerhdf.c +++ b/drivers/platform/x86/acerhdf.c | |||
@@ -640,9 +640,10 @@ static void __exit acerhdf_exit(void) | |||
640 | MODULE_LICENSE("GPL"); | 640 | MODULE_LICENSE("GPL"); |
641 | MODULE_AUTHOR("Peter Feuerer"); | 641 | MODULE_AUTHOR("Peter Feuerer"); |
642 | MODULE_DESCRIPTION("Aspire One temperature and fan driver"); | 642 | MODULE_DESCRIPTION("Aspire One temperature and fan driver"); |
643 | MODULE_ALIAS("dmi:*:*Acer*:*:"); | 643 | MODULE_ALIAS("dmi:*:*Acer*:pnAOA*:"); |
644 | MODULE_ALIAS("dmi:*:*Gateway*:*:"); | 644 | MODULE_ALIAS("dmi:*:*Gateway*:pnAOA*:"); |
645 | MODULE_ALIAS("dmi:*:*Packard Bell*:*:"); | 645 | MODULE_ALIAS("dmi:*:*Packard Bell*:pnAOA*:"); |
646 | MODULE_ALIAS("dmi:*:*Packard Bell*:pnDOA*:"); | ||
646 | 647 | ||
647 | module_init(acerhdf_init); | 648 | module_init(acerhdf_init); |
648 | module_exit(acerhdf_exit); | 649 | module_exit(acerhdf_exit); |