1. 22 3月, 2011 1 次提交
  2. 22 2月, 2011 1 次提交
    • R
      platform/x86: ideapad-laptop depends on INPUT · ad0f4306
      Randy Dunlap 提交于
      Most platform/x86 drivers that use INPUT_SPARSEKMAP also depend on INPUT,
      so do the same for ideapad-laptop.  This fixes a kconfig warning and
      subsequent build errors when CONFIG_INPUT is disabled.
      
      warning: (ACER_WMI && ASUS_LAPTOP && DELL_WMI && HP_WMI && PANASONIC_LAPTOP && IDEAPAD_LAPTOP && EEEPC_LAPTOP && EEEPC_WMI && MSI_WMI && TOPSTAR_LAPTOP && ACPI_TOSHIBA) selects INPUT_SPARSEKMAP which has unmet direct dependencies (!S390 && INPUT)
      
      ERROR: "input_free_device" [drivers/platform/x86/ideapad-laptop.ko] undefined!
      ERROR: "input_register_device" [drivers/platform/x86/ideapad-laptop.ko] undefined!
      ERROR: "sparse_keymap_setup" [drivers/platform/x86/ideapad-laptop.ko] undefined!
      ERROR: "input_allocate_device" [drivers/platform/x86/ideapad-laptop.ko] undefined!
      ERROR: "input_unregister_device" [drivers/platform/x86/ideapad-laptop.ko] undefined!
      ERROR: "sparse_keymap_free" [drivers/platform/x86/ideapad-laptop.ko] undefined!
      ERROR: "sparse_keymap_report_event" [drivers/platform/x86/ideapad-laptop.ko] undefined!
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Matthew Garrett <mjg@redhat.com>
      Cc: platform-driver-x86@vger.kernel.org
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      ad0f4306
  3. 11 1月, 2011 1 次提交
    • M
      platform/x86: Consistently select LEDS Kconfig options · 0c51a4d8
      Mark Brown 提交于
      Currently the x86 platform devices are not consistent about selecting
      or depending on the LEDs Kconfig variables, and this inconsistency
      leads to Kconfig getting upset and refusing to offer LEDs (even on
      non-x86 platforms):
      
      drivers/platform/x86/Kconfig:422:error: recursive dependency detected!
      drivers/platform/x86/Kconfig:422:       symbol EEEPC_WMI depends on ACPI_WMI
      drivers/platform/x86/Kconfig:438:       symbol ACPI_WMI is selected by ACER_WMI
      drivers/platform/x86/Kconfig:18:        symbol ACER_WMI depends on LEDS_CLASS
      drivers/leds/Kconfig:10:        symbol LEDS_CLASS is selected by EEEPC_WMI
      
      Fix this by always selecting rather than depending on the symbols as
      slightly more drivers use this approach already and it seems more
      user friendly.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      0c51a4d8
  4. 08 1月, 2011 6 次提交
  5. 21 10月, 2010 10 次提交
  6. 24 8月, 2010 1 次提交
    • J
      ACPI_TOSHIBA needs LEDS support · c76a3e1d
      Jonathan Corbet 提交于
      Don't ask how ACPI_TOSHIBA got enabled on in desktop system's .config -
      I don't know.  But it has silently been there until I tried 2.6.36-rc2,
      where it broke the build because I don't have LED support turned on.
      Attached patch fixes things up.
      
      (I had to change BACKLIGHT_CLASS_DEVICE to "depends" because otherwise
      I get unsightly core dumps out of scripts/kconfig/conf).
      
      jon
      
      --
      toshiba: make sure we pull in LED support
      
      The Toshiba extras driver uses the LED module, so make sure we have it
      configure in.
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      c76a3e1d
  7. 11 8月, 2010 1 次提交
  8. 03 8月, 2010 8 次提交
  9. 18 5月, 2010 3 次提交
  10. 08 5月, 2010 1 次提交
    • R
      eeepc-wmi: depends on BACKLIGHT_CLASS_DEVICE · d89d63a9
      Randy Dunlap 提交于
      eeepc-wmi uses backlight*() interfaces so it should depend on
      BACKLIGHT_CLASS_DEVICE.
      
      eeepc-wmi.c:(.text+0x2d7f54): undefined reference to `backlight_force_update'
      eeepc-wmi.c:(.text+0x2d8012): undefined reference to `backlight_device_register'
      eeepc-wmi.c:(.devinit.text+0x1c31c): undefined reference to `backlight_device_unregister'
      eeepc-wmi.c:(.devexit.text+0x2f8b): undefined reference to `backlight_device_unregister'
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      d89d63a9
  11. 13 4月, 2010 1 次提交
    • I
      eeepc-wmi: Build fix · fb48aef7
      Ingo Molnar 提交于
      -tip testing found:
      
      eeepc-wmi.c:(.text+0x36673c): undefined reference to `sparse_keymap_report_event'
      drivers/built-in.o: In function `eeepc_wmi_init':
      eeepc-wmi.c:(.init.text+0x19cd0): undefined reference to `sparse_keymap_setup'
      eeepc-wmi.c:(.init.text+0x19cf0): undefined reference to `sparse_keymap_free'
      eeepc-wmi.c:(.init.text+0x19d0b): undefined reference to `sparse_keymap_free'
      drivers/built-in.o: In function `eeepc_wmi_exit':
      eeepc-wmi.c:(.exit.text+0x2e87): undefined reference to `sparse_keymap_free'
      
      To fix this select INPUT_SPARSEKMAP, like the ASUS driver does.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      fb48aef7
  12. 01 4月, 2010 1 次提交
  13. 08 3月, 2010 1 次提交
    • R
      msi-laptop: depends on RFKILL · 410c1765
      Randy Dunlap 提交于
      msi-laptop uses rfkill*() interfaces so it should depend on RFKILL.
      
      msi-laptop.c:(.text+0x1fcd1b): undefined reference to `rfkill_alloc'
      msi-laptop.c:(.text+0x1fcd76): undefined reference to `rfkill_register'
      msi-laptop.c:(.text+0x1fcdc8): undefined reference to `rfkill_destroy'
      msi-laptop.c:(.text+0x1fcdd9): undefined reference to `rfkill_unregister'
      
      This repairs "msi-laptop: Detect 3G device exists by standard ec command",
      which is in some gregkh tree.
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Cc: Lennart Poettering <mzxreary@0pointer.de>
      Cc: Lee, Chun-Yi <jlee@novell.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      410c1765
  14. 02 3月, 2010 1 次提交
    • I
      compal-laptop: Make it depend on CONFIG_RFKILL · 51c1410b
      Ingo Molnar 提交于
      -tip testing found this build failure (x86 randconfig):
      
       drivers/built-in.o: In function `setup_rfkill':
       compal-laptop.c:(.text+0x36abe8): undefined reference to `rfkill_alloc'
       compal-laptop.c:(.text+0x36abfc): undefined reference to `rfkill_register'
       compal-laptop.c:(.text+0x36ac30): undefined reference to `rfkill_alloc'
       compal-laptop.c:(.text+0x36ac44): undefined reference to `rfkill_register'
      
      Which can happen with CONFIG_COMPAL_LAPTOP=y but COMPAL_LAPTOP=m.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      51c1410b
  15. 01 3月, 2010 2 次提交
  16. 26 2月, 2010 1 次提交
    • H
      thinkpad-acpi: lock down video output state access · b525c06c
      Henrique de Moraes Holschuh 提交于
      Given the right combination of ThinkPad and X.org, just reading the
      video output control state is enough to hard-crash X.org.
      
      Until the day I somehow find out a model or BIOS cut date to not
      provide this feature to ThinkPads that can do video switching through
      X RandR, change permissions so that only processes with CAP_SYS_ADMIN
      can access any sort of video output control state.
      
      This bug could be considered a local DoS I suppose, as it allows any
      non-privledged local user to cause some versions of X.org to
      hard-crash some ThinkPads.
      Reported-by: NJidanni <jidanni@jidanni.org>
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Cc: stable@kernel.org
      b525c06c