aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/acpi/boot.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-11 22:18:45 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-11 22:18:45 -0400
commit19ad7ae47e4ce4eb2a583e437d653a96da7897ac (patch)
tree699fda69476d256aae62e44baf7f98495a353204 /arch/x86/kernel/acpi/boot.c
parent1ce48904285fe4b0298864f9153a8502ebeac35c (diff)
parent1855256c497ecfefc730df6032243f26855ce52c (diff)
Merge branch 'dmi-const' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6
* 'dmi-const' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6: drivers/firmware: const-ify DMI API and internals
Diffstat (limited to 'arch/x86/kernel/acpi/boot.c')
-rw-r--r--arch/x86/kernel/acpi/boot.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index cacdd883bf2b..afd2afe9102d 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -907,7 +907,7 @@ static void __init acpi_process_madt(void)
907 907
908#ifdef __i386__ 908#ifdef __i386__
909 909
910static int __init disable_acpi_irq(struct dmi_system_id *d) 910static int __init disable_acpi_irq(const struct dmi_system_id *d)
911{ 911{
912 if (!acpi_force) { 912 if (!acpi_force) {
913 printk(KERN_NOTICE "%s detected: force use of acpi=noirq\n", 913 printk(KERN_NOTICE "%s detected: force use of acpi=noirq\n",
@@ -917,7 +917,7 @@ static int __init disable_acpi_irq(struct dmi_system_id *d)
917 return 0; 917 return 0;
918} 918}
919 919
920static int __init disable_acpi_pci(struct dmi_system_id *d) 920static int __init disable_acpi_pci(const struct dmi_system_id *d)
921{ 921{
922 if (!acpi_force) { 922 if (!acpi_force) {
923 printk(KERN_NOTICE "%s detected: force use of pci=noacpi\n", 923 printk(KERN_NOTICE "%s detected: force use of pci=noacpi\n",
@@ -927,7 +927,7 @@ static int __init disable_acpi_pci(struct dmi_system_id *d)
927 return 0; 927 return 0;
928} 928}
929 929
930static int __init dmi_disable_acpi(struct dmi_system_id *d) 930static int __init dmi_disable_acpi(const struct dmi_system_id *d)
931{ 931{
932 if (!acpi_force) { 932 if (!acpi_force) {
933 printk(KERN_NOTICE "%s detected: acpi off\n", d->ident); 933 printk(KERN_NOTICE "%s detected: acpi off\n", d->ident);
@@ -942,7 +942,7 @@ static int __init dmi_disable_acpi(struct dmi_system_id *d)
942/* 942/*
943 * Limit ACPI to CPU enumeration for HT 943 * Limit ACPI to CPU enumeration for HT
944 */ 944 */
945static int __init force_acpi_ht(struct dmi_system_id *d) 945static int __init force_acpi_ht(const struct dmi_system_id *d)
946{ 946{
947 if (!acpi_force) { 947 if (!acpi_force) {
948 printk(KERN_NOTICE "%s detected: force use of acpi=ht\n", 948 printk(KERN_NOTICE "%s detected: force use of acpi=ht\n",