1. 10 10月, 2009 3 次提交
    • L
      hwmon: (asus_atk0110) Enable the EC · 9e6eba61
      Luca Tettamanti 提交于
      On newer ASUS boards (e.g. P7P55D) the EC (that - among other things - is
      responsible for updating the readings from the hwmon sensors) is disabled
      by default since ASUS detected conflict with some tools under Windows.
      The following patch checks the state of the EC and enable it if needed;
      under Linux, native drivers are locked out from ACPI owned resources so
      there's no risk of conflict.
      Signed-off-by: NLuca Tettamanti <kronos.it@gmail.com>
      Tested-by: NRobert Hancock <hancockrwd@gmail.com>
      Tested-by: NThomas Backlund <tmb@mandriva.org>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      9e6eba61
    • L
      hwmon: (asus_atk0110) Refactor the code · 18e25555
      Luca Tettamanti 提交于
      Refactor the code of the new style interface around GGRP (enumeration) and
      GITM (read) helpers to mimic ASL code. Also switch the read path to use
      dynamic buffers (handled by ACPI core) since ASUS expanded the return buffer
      (ASBF) in newer boards (e.g. P7P55D).
      Signed-off-by: NLuca Tettamanti <kronos.it@gmail.com>
      Tested-by: NRobert Hancock <hancockrwd@gmail.com>
      Tested-by: NThomas Backlund <tmb@mandriva.org>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      18e25555
    • R
      hwmon: (sht15) Fix spurious section mismatch warning · cb0f1a1e
      Rakib Mullick 提交于
      Fix spurious section mismatch warnings, caused due to reference from
      variable sht_drivers to
       __devinit/__devexit functions sht15_probe()/remove().
      
       We were warned by the following warnings:
      
        LD      drivers/hwmon/built-in.o
      WARNING: drivers/hwmon/built-in.o(.data+0x264a0): Section mismatch in
      reference from the variable sht_drivers to the function
      .devinit.text:sht15_probe()
      The variable sht_drivers references
      the function __devinit sht15_probe()
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      WARNING: drivers/hwmon/built-in.o(.data+0x264a4): Section mismatch in
      reference from the variable sht_drivers to the function
      .devexit.text:sht15_remove()
      The variable sht_drivers references
      the function __devexit sht15_remove()
      If the reference is valid then annotate the
      variable with __exit* (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      WARNING: drivers/hwmon/built-in.o(.data+0x264f0): Section mismatch in
      reference from the variable sht_drivers to the function
      .devinit.text:sht15_probe()
      The variable sht_drivers references
      the function __devinit sht15_probe()
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      WARNING: drivers/hwmon/built-in.o(.data+0x264f4): Section mismatch in
      reference from the variable sht_drivers to the function
      .devexit.text:sht15_remove()
      The variable sht_drivers references
      the function __devexit sht15_remove()
      If the reference is valid then annotate the
      variable with __exit* (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      WARNING: drivers/hwmon/built-in.o(.data+0x26540): Section mismatch in
      reference from the variable sht_drivers to the function
      .devinit.text:sht15_probe()
      The variable sht_drivers references
      the function __devinit sht15_probe()
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      WARNING: drivers/hwmon/built-in.o(.data+0x26544): Section mismatch in
      reference from the variable sht_drivers to the function
      .devexit.text:sht15_remove()
      The variable sht_drivers references
      the function __devexit sht15_remove()
      If the reference is valid then annotate the
      variable with __exit* (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      WARNING: drivers/hwmon/built-in.o(.data+0x26590): Section mismatch in
      reference from the variable sht_drivers to the function
      .devinit.text:sht15_probe()
      The variable sht_drivers references
      the function __devinit sht15_probe()
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      Signed-off-by: NRakib Mullick <rakib.mullick@gmail.com>
      Cc: Jonathan Cameron <jic23@cam.ac.uk>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      cb0f1a1e
  2. 09 10月, 2009 14 次提交
  3. 08 10月, 2009 23 次提交