1. 09 Oct, 2009 5 commits
    • Mark Brown's avatar
      hwmon: (s3c-hwmon) Disable build for S3C64xx · 384e724b
      Mark Brown authored
      The s3c-hwmon driver depends on the arch/arm implementation of the core
      ADC support for the chip.  Since the S3C64xx version has not yet been
      merged disable building of the driver on S3C64xx for now.
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      384e724b
    • Jean Delvare's avatar
      05576a1e
    • Luca Tettamanti's avatar
      hwmon: (asus_atk0110) Enable the EC · 9e6eba61
      Luca Tettamanti authored
      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: default avatarLuca Tettamanti <kronos.it@gmail.com>
      Tested-by: default avatarRobert Hancock <hancockrwd@gmail.com>
      Tested-by: default avatarThomas Backlund <tmb@mandriva.org>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      9e6eba61
    • Luca Tettamanti's avatar
      hwmon: (asus_atk0110) Refactor the code · 18e25555
      Luca Tettamanti authored
      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: default avatarLuca Tettamanti <kronos.it@gmail.com>
      Tested-by: default avatarRobert Hancock <hancockrwd@gmail.com>
      Tested-by: default avatarThomas Backlund <tmb@mandriva.org>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      18e25555
    • Rakib Mullick's avatar
      hwmon: (sht15) Fix spurious section mismatch warning · cb0f1a1e
      Rakib Mullick authored
      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: default avatarRakib Mullick <rakib.mullick@gmail.com>
      Cc: Jonathan Cameron <jic23@cam.ac.uk>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      cb0f1a1e
  2. 08 Oct, 2009 35 commits