acerhdf: fix fan control for AOA150 model
authorPeter Feuerer <peter@piie.net>
Thu, 6 Aug 2009 22:57:52 +0000 (15:57 -0700)
committerLen Brown <len.brown@intel.com>
Sat, 19 Sep 2009 05:49:25 +0000 (01:49 -0400)
commitded0cdfc6a7673916b0878c32fa8ba566b4f8cdb
treef9c8703d05fa95c56147fe11ec81207990c9d5b0
parent1e23502cc57cef33455ac7cb9111e3c6d991a894
acerhdf: fix fan control for AOA150 model

- Apply Borislav Petkov's patch (convert the fancmd[] array to a real
  struct thus disambiguating command handling and making code more
  readable.)

- Add BIOS product to BIOS table as AOA110 and AOA150 have different
  register values

- Add force_product parameter to allow forcing different product

- fix linker warning caused by "acerhdf_drv" not being named
  "acerhdf_driver"

Signed-off-by: Peter Feuerer <peter@piie.net>
Cc: Andreas Mohr <andi@lisas.de>
Acked-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/acerhdf.c