aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/acpi/Kconfig15
-rw-r--r--drivers/acpi/Makefile1
-rw-r--r--drivers/misc/Kconfig14
-rw-r--r--drivers/misc/Makefile1
-rw-r--r--drivers/misc/sony-laptop.c (renamed from drivers/acpi/sony_acpi.c)2
5 files changed, 16 insertions, 17 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 364e6fe8ec35..f4f000abc4e9 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -252,21 +252,6 @@ config ACPI_TOSHIBA
252 If you have a legacy free Toshiba laptop (such as the Libretto L1 252 If you have a legacy free Toshiba laptop (such as the Libretto L1
253 series), say Y. 253 series), say Y.
254 254
255config ACPI_SONY
256 tristate "Sony Laptop Extras"
257 depends on X86 && ACPI
258 select BACKLIGHT_CLASS_DEVICE
259 default m
260 ---help---
261 This mini-driver drives the ACPI SNC device present in the
262 ACPI BIOS of the Sony Vaio laptops.
263
264 It gives access to some extra laptop functionalities. In
265 its current form, the only thing this driver does is letting
266 the user set or query the screen brightness.
267
268 Read <file:Documentation/acpi/sony_acpi.txt> for more information.
269
270config ACPI_CUSTOM_DSDT 255config ACPI_CUSTOM_DSDT
271 bool "Include Custom DSDT" 256 bool "Include Custom DSDT"
272 depends on !STANDALONE 257 depends on !STANDALONE
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile
index 31b9ad2218af..bce7ca27b429 100644
--- a/drivers/acpi/Makefile
+++ b/drivers/acpi/Makefile
@@ -53,7 +53,6 @@ obj-$(CONFIG_ACPI_THERMAL) += thermal.o
53obj-$(CONFIG_ACPI_SYSTEM) += system.o event.o 53obj-$(CONFIG_ACPI_SYSTEM) += system.o event.o
54obj-$(CONFIG_ACPI_DEBUG) += debug.o 54obj-$(CONFIG_ACPI_DEBUG) += debug.o
55obj-$(CONFIG_ACPI_NUMA) += numa.o 55obj-$(CONFIG_ACPI_NUMA) += numa.o
56obj-$(CONFIG_ACPI_SONY) += sony_acpi.o
57obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o 56obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o
58obj-$(CONFIG_ACPI_IBM) += ibm_acpi.o 57obj-$(CONFIG_ACPI_IBM) += ibm_acpi.o
59obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o 58obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 00db31c314e0..78fc47ba9717 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -88,4 +88,18 @@ config MSI_LAPTOP
88 88
89 If you have an MSI S270 laptop, say Y or M here. 89 If you have an MSI S270 laptop, say Y or M here.
90 90
91config SONY_LAPTOP
92 tristate "Sony Laptop Extras"
93 depends on X86 && ACPI
94 select BACKLIGHT_CLASS_DEVICE
95 ---help---
96 This mini-driver drives the ACPI SNC device present in the
97 ACPI BIOS of the Sony Vaio laptops.
98
99 It gives access to some extra laptop functionalities. In
100 its current form, the only thing this driver does is letting
101 the user set or query the screen brightness.
102
103 Read <file:Documentation/acpi/sony_acpi.txt> for more information.
104
91endmenu 105endmenu
diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
index c9e98ab021c5..f86f9dcfcfe5 100644
--- a/drivers/misc/Makefile
+++ b/drivers/misc/Makefile
@@ -10,3 +10,4 @@ obj-$(CONFIG_LKDTM) += lkdtm.o
10obj-$(CONFIG_TIFM_CORE) += tifm_core.o 10obj-$(CONFIG_TIFM_CORE) += tifm_core.o
11obj-$(CONFIG_TIFM_7XX1) += tifm_7xx1.o 11obj-$(CONFIG_TIFM_7XX1) += tifm_7xx1.o
12obj-$(CONFIG_SGI_IOC4) += ioc4.o 12obj-$(CONFIG_SGI_IOC4) += ioc4.o
13obj-$(CONFIG_SONY_LAPTOP) += sony-laptop.o
diff --git a/drivers/acpi/sony_acpi.c b/drivers/misc/sony-laptop.c
index c01d98db2fc1..103657e1b449 100644
--- a/drivers/acpi/sony_acpi.c
+++ b/drivers/misc/sony-laptop.c
@@ -356,7 +356,7 @@ static int sony_acpi_add(struct acpi_device *device)
356 NULL, &sony_backlight_properties); 356 NULL, &sony_backlight_properties);
357 357
358 if (IS_ERR(sony_backlight_device)) { 358 if (IS_ERR(sony_backlight_device)) {
359 printk(LOG_PFX "unable to register backlight device\n"); 359 printk(LOG_PFX "unable to register backlight device\n");
360 sony_backlight_device = NULL; 360 sony_backlight_device = NULL;
361 } 361 }
362 else 362 else