+ add-support-for-the-generic-backlight-device-to-the-ibm-acpi-driver-fix-2.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     backlight users need to select BACKLIGHT_CLASS_DEVICE

has been added to the -mm tree.  Its filename is

     add-support-for-the-generic-backlight-device-to-the-ibm-acpi-driver-fix-2.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: backlight users need to select BACKLIGHT_CLASS_DEVICE
From: Andy Whitcroft <apw@xxxxxxxxxxxx>

When compiling 2.6.19-rc2-mm1 we get the following link failures:

  drivers/built-in.o(.init.text+0x3076): In function `toshiba_acpi_init':
    : undefined reference to `backlight_device_register'
  drivers/built-in.o(.exit.text+0x170): In function `toshiba_acpi_exit':
    : undefined reference to `backlight_device_unregister'

When we build an ACPI module which provides backlight support we need to
ensure that the backlight class device is selected.

Signed-off-by: Andy Whitcroft <apw@xxxxxxxxxxxx>
Cc: Holger Macht <hmacht@xxxxxxx>
Cc: "Brown, Len" <len.brown@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/acpi/Kconfig |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/acpi/Kconfig~add-support-for-the-generic-backlight-device-to-the-ibm-acpi-driver-fix-2 drivers/acpi/Kconfig
--- a/drivers/acpi/Kconfig~add-support-for-the-generic-backlight-device-to-the-ibm-acpi-driver-fix-2
+++ a/drivers/acpi/Kconfig
@@ -207,7 +207,7 @@ config ACPI_ASUS
 config ACPI_IBM
 	tristate "IBM ThinkPad Laptop Extras"
 	depends on X86
-	select BACKLIGHT_DEVICE
+	select BACKLIGHT_CLASS_DEVICE
 	---help---
 	  This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds
 	  support for Fn-Fx key combinations, Bluetooth control, video
_

Patches currently in -mm which might be from apw@xxxxxxxxxxxx are

add-support-for-the-generic-backlight-device-to-the-ibm-acpi-driver-fix-2.patch
add-support-for-the-generic-backlight-device-to-the-asus-acpi-driver-fix.patch
add-support-for-the-generic-backlight-device-to-the-toshiba-acpi-driver-fix.patch
get-rid-of-zone_table.patch
deal-with-cases-of-zone_dma-meaning-the-first-zone.patch
get-rid-of-zone_table-fix-3.patch
optional-zone_dma-in-the-vm.patch
zoneid-fix-up-calculations-for-zoneid_pgshift.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux