diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-03-29 00:58:41 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-03-30 15:35:42 -0400 |
commit | 85998248b2e8c6ae7d3ad1fa7b059aed22205ec4 (patch) | |
tree | 51d1660479b6f5e8484aafb0ca767aa94c612bc7 /drivers/misc/thinkpad_acpi.c | |
parent | f21f85de4b3b9ad4a671fb19a889c16db2ea38b2 (diff) |
ACPI: thinkpad-acpi: cleanup Kconfig for thinkpad-acpi
Since ibm-acpi was renamed to thinkpad-acpi, rename and update its Kconfig
entries and Kconfig-related symbols accordingly.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/misc/thinkpad_acpi.c')
-rw-r--r-- | drivers/misc/thinkpad_acpi.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c index 2836516ece86..bb789db4d334 100644 --- a/drivers/misc/thinkpad_acpi.c +++ b/drivers/misc/thinkpad_acpi.c | |||
@@ -1040,7 +1040,7 @@ static int light_write(char *buf) | |||
1040 | /* don't list other alternatives as we install a notify handler on the 570 */ | 1040 | /* don't list other alternatives as we install a notify handler on the 570 */ |
1041 | IBM_HANDLE(pci, root, "\\_SB.PCI"); /* 570 */ | 1041 | IBM_HANDLE(pci, root, "\\_SB.PCI"); /* 570 */ |
1042 | 1042 | ||
1043 | #ifdef CONFIG_ACPI_IBM_DOCK | 1043 | #ifdef CONFIG_THINKPAD_ACPI_DOCK |
1044 | 1044 | ||
1045 | IBM_HANDLE(dock, root, "\\_SB.GDCK", /* X30, X31, X40 */ | 1045 | IBM_HANDLE(dock, root, "\\_SB.GDCK", /* X30, X31, X40 */ |
1046 | "\\_SB.PCI0.DOCK", /* 600e/x,770e,770x,A2xm/p,T20-22,X20-21 */ | 1046 | "\\_SB.PCI0.DOCK", /* 600e/x,770e,770x,A2xm/p,T20-22,X20-21 */ |
@@ -1111,13 +1111,13 @@ static int dock_write(char *buf) | |||
1111 | return 0; | 1111 | return 0; |
1112 | } | 1112 | } |
1113 | 1113 | ||
1114 | #endif /* CONFIG_ACPI_IBM_DOCK */ | 1114 | #endif /* CONFIG_THINKPAD_ACPI_DOCK */ |
1115 | 1115 | ||
1116 | /************************************************************************* | 1116 | /************************************************************************* |
1117 | * Bay subdriver | 1117 | * Bay subdriver |
1118 | */ | 1118 | */ |
1119 | 1119 | ||
1120 | #ifdef CONFIG_ACPI_IBM_BAY | 1120 | #ifdef CONFIG_THINKPAD_ACPI_BAY |
1121 | static int bay_status_supported; | 1121 | static int bay_status_supported; |
1122 | static int bay_status2_supported; | 1122 | static int bay_status2_supported; |
1123 | static int bay_eject_supported; | 1123 | static int bay_eject_supported; |
@@ -1208,7 +1208,7 @@ static int bay_write(char *buf) | |||
1208 | 1208 | ||
1209 | return 0; | 1209 | return 0; |
1210 | } | 1210 | } |
1211 | #endif /* CONFIG_ACPI_IBM_BAY */ | 1211 | #endif /* CONFIG_THINKPAD_ACPI_BAY */ |
1212 | 1212 | ||
1213 | /************************************************************************* | 1213 | /************************************************************************* |
1214 | * CMOS subdriver | 1214 | * CMOS subdriver |
@@ -2477,7 +2477,7 @@ static struct ibm_struct ibms[] = { | |||
2477 | .read = light_read, | 2477 | .read = light_read, |
2478 | .write = light_write, | 2478 | .write = light_write, |
2479 | }, | 2479 | }, |
2480 | #ifdef CONFIG_ACPI_IBM_DOCK | 2480 | #ifdef CONFIG_THINKPAD_ACPI_DOCK |
2481 | { | 2481 | { |
2482 | .name = "dock", | 2482 | .name = "dock", |
2483 | .read = dock_read, | 2483 | .read = dock_read, |
@@ -2494,7 +2494,7 @@ static struct ibm_struct ibms[] = { | |||
2494 | .type = ACPI_SYSTEM_NOTIFY, | 2494 | .type = ACPI_SYSTEM_NOTIFY, |
2495 | }, | 2495 | }, |
2496 | #endif | 2496 | #endif |
2497 | #ifdef CONFIG_ACPI_IBM_BAY | 2497 | #ifdef CONFIG_THINKPAD_ACPI_BAY |
2498 | { | 2498 | { |
2499 | .name = "bay", | 2499 | .name = "bay", |
2500 | .init = bay_init, | 2500 | .init = bay_init, |
@@ -2504,7 +2504,7 @@ static struct ibm_struct ibms[] = { | |||
2504 | .handle = &bay_handle, | 2504 | .handle = &bay_handle, |
2505 | .type = ACPI_SYSTEM_NOTIFY, | 2505 | .type = ACPI_SYSTEM_NOTIFY, |
2506 | }, | 2506 | }, |
2507 | #endif /* CONFIG_ACPI_IBM_BAY */ | 2507 | #endif /* CONFIG_THINKPAD_ACPI_BAY */ |
2508 | { | 2508 | { |
2509 | .name = "cmos", | 2509 | .name = "cmos", |
2510 | .read = cmos_read, | 2510 | .read = cmos_read, |
@@ -2686,12 +2686,12 @@ IBM_PARAM(hotkey); | |||
2686 | IBM_PARAM(bluetooth); | 2686 | IBM_PARAM(bluetooth); |
2687 | IBM_PARAM(video); | 2687 | IBM_PARAM(video); |
2688 | IBM_PARAM(light); | 2688 | IBM_PARAM(light); |
2689 | #ifdef CONFIG_ACPI_IBM_DOCK | 2689 | #ifdef CONFIG_THINKPAD_ACPI_DOCK |
2690 | IBM_PARAM(dock); | 2690 | IBM_PARAM(dock); |
2691 | #endif | 2691 | #endif |
2692 | #ifdef CONFIG_ACPI_IBM_BAY | 2692 | #ifdef CONFIG_THINKPAD_ACPI_BAY |
2693 | IBM_PARAM(bay); | 2693 | IBM_PARAM(bay); |
2694 | #endif /* CONFIG_ACPI_IBM_BAY */ | 2694 | #endif /* CONFIG_THINKPAD_ACPI_BAY */ |
2695 | IBM_PARAM(cmos); | 2695 | IBM_PARAM(cmos); |
2696 | IBM_PARAM(led); | 2696 | IBM_PARAM(led); |
2697 | IBM_PARAM(beep); | 2697 | IBM_PARAM(beep); |
@@ -2725,18 +2725,18 @@ static int __init acpi_ibm_init(void) | |||
2725 | IBM_HANDLE_INIT(hkey); | 2725 | IBM_HANDLE_INIT(hkey); |
2726 | IBM_HANDLE_INIT(lght); | 2726 | IBM_HANDLE_INIT(lght); |
2727 | IBM_HANDLE_INIT(cmos); | 2727 | IBM_HANDLE_INIT(cmos); |
2728 | #ifdef CONFIG_ACPI_IBM_DOCK | 2728 | #ifdef CONFIG_THINKPAD_ACPI_DOCK |
2729 | IBM_HANDLE_INIT(dock); | 2729 | IBM_HANDLE_INIT(dock); |
2730 | #endif | 2730 | #endif |
2731 | IBM_HANDLE_INIT(pci); | 2731 | IBM_HANDLE_INIT(pci); |
2732 | #ifdef CONFIG_ACPI_IBM_BAY | 2732 | #ifdef CONFIG_THINKPAD_ACPI_BAY |
2733 | IBM_HANDLE_INIT(bay); | 2733 | IBM_HANDLE_INIT(bay); |
2734 | if (bay_handle) | 2734 | if (bay_handle) |
2735 | IBM_HANDLE_INIT(bay_ej); | 2735 | IBM_HANDLE_INIT(bay_ej); |
2736 | IBM_HANDLE_INIT(bay2); | 2736 | IBM_HANDLE_INIT(bay2); |
2737 | if (bay2_handle) | 2737 | if (bay2_handle) |
2738 | IBM_HANDLE_INIT(bay2_ej); | 2738 | IBM_HANDLE_INIT(bay2_ej); |
2739 | #endif /* CONFIG_ACPI_IBM_BAY */ | 2739 | #endif /* CONFIG_THINKPAD_ACPI_BAY */ |
2740 | IBM_HANDLE_INIT(beep); | 2740 | IBM_HANDLE_INIT(beep); |
2741 | IBM_HANDLE_INIT(ecrd); | 2741 | IBM_HANDLE_INIT(ecrd); |
2742 | IBM_HANDLE_INIT(ecwr); | 2742 | IBM_HANDLE_INIT(ecwr); |