1. 17 7月, 2008 6 次提交
  2. 13 3月, 2008 2 次提交
  3. 12 3月, 2008 2 次提交
  4. 21 2月, 2008 1 次提交
    • S
      acer-wmi: fix section mismatch warnings · 7560e385
      Sam Ravnborg 提交于
      Fix following warnings:
      WARNING: vmlinux.o(.text+0x672615): Section mismatch in reference from the function acer_platform_remove() to the function .exit.text:acer_backlight_exit()
      WARNING: vmlinux.o(.devinit.text+0x1e859): Section mismatch in reference from the function acer_platform_probe() to the function .init.text:acer_led_init()
      WARNING: vmlinux.o(.devinit.text+0x1e878): Section mismatch in reference from the function acer_platform_probe() to the function .init.text:acer_backlight_init()
      
      Remove __exit annotation from acer_backlight_exit(). We cannot reference
      a __exit annotated function from non __exit functions.
      
      acer_led_init() and acer_backlight_init() where both annotated __init but
      used from a __devinit function. This would result in an oops should
      gcc drop their inlining and the module are hot plugged.
      
      Fix by annotating acer_led_init() and acer_backlight_init() __devinit.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      7560e385
  5. 16 2月, 2008 1 次提交
  6. 09 2月, 2008 1 次提交
  7. 06 2月, 2008 1 次提交
    • C
      acer-wmi: Add driver for newer Acer laptops · 745a5d21
      Carlos Corbacho 提交于
      This is a driver for newer Acer (and Wistron) laptops. It adds wireless
      radio and bluetooth control, and on some laptops, exposes the mail LED and
      LCD backlight.
      
      v1:
      
      * Initial release
      
      v2:
      
      * Replace left over ACPI references with WMI
      * Add GUID based autoloading (depends on future work to WMI)
      * Add DMI based autoloading (backup solution until WMI sysfs/ class
        work is available)
      * Checkpatch fixes
      
      v3:
      
      * Add new EC quirks for Aspire 3100 & 5100, and Extensa 5220
      
      v4:
      
      * Simplified internal handling of WMID and AMW0 devices
      * Add autodetection for bluetooth and maximum brightness on AMW0 V2 and
        WMID laptops.
      
      v5:
      
      * Add EC quirk for Medion MD 98000
      * Add autodetection for AMW0, and mail LED on AMW0 and AMW0 V2.
      * Improve error handling
      * Fix AMW0 V2 bluetooth and wireless, by using both WMID and AMW0 methods
        to ensure that the correct value is always set.
      
      v6:
      
      * Fix 'use before initialisation' bug with quirks.
      
      v7
      
      * Fix bug on AMW0 where acer-wmi would exit if a mail LED was not
        detected.
      * Add Acer Aspire 9110 mail LED support
      * Fix section mismatch warnings
      Signed-off-by: NCarlos Corbacho <carlos@strangeworlds.co.uk>
      CC: Matthew Garrett <mjg59@srcf.ucam.org>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      745a5d21