acerhdf: limit modalias matching to supported
commit5ab8996c82fdb3fa04ca1d72b1fb388ce9c42378
authorStefan Bader <stefan.bader@canonical.com>
Tue, 22 Dec 2009 00:20:04 +0000 (21 16:20 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jan 2010 23:03:28 +0000 (6 15:03 -0800)
tree7626d2afcf90f74691bb8c3278ad9752106da891
parent296e9be6e548bc7ede4c6b04b1adfa1d15b8ee12
acerhdf: limit modalias matching to supported

commit bdc731bc5fcd1794e9ac8ac80c389d302381c123 upstream.

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/platform/x86/acerhdf.c