diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-11 22:18:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-11 22:18:45 -0400 |
commit | 19ad7ae47e4ce4eb2a583e437d653a96da7897ac (patch) | |
tree | 699fda69476d256aae62e44baf7f98495a353204 /arch/x86/pci | |
parent | 1ce48904285fe4b0298864f9153a8502ebeac35c (diff) | |
parent | 1855256c497ecfefc730df6032243f26855ce52c (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/pci')
-rw-r--r-- | arch/x86/pci/common.c | 4 | ||||
-rw-r--r-- | arch/x86/pci/irq.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c index ebc6f3c66340..07d5223442bf 100644 --- a/arch/x86/pci/common.c +++ b/arch/x86/pci/common.c | |||
@@ -123,7 +123,7 @@ void __devinit pcibios_fixup_bus(struct pci_bus *b) | |||
123 | * on the kernel command line (which was parsed earlier). | 123 | * on the kernel command line (which was parsed earlier). |
124 | */ | 124 | */ |
125 | 125 | ||
126 | static int __devinit set_bf_sort(struct dmi_system_id *d) | 126 | static int __devinit set_bf_sort(const struct dmi_system_id *d) |
127 | { | 127 | { |
128 | if (pci_bf_sort == pci_bf_sort_default) { | 128 | if (pci_bf_sort == pci_bf_sort_default) { |
129 | pci_bf_sort = pci_dmi_bf; | 129 | pci_bf_sort = pci_dmi_bf; |
@@ -136,7 +136,7 @@ static int __devinit set_bf_sort(struct dmi_system_id *d) | |||
136 | * Enable renumbering of PCI bus# ranges to reach all PCI busses (Cardbus) | 136 | * Enable renumbering of PCI bus# ranges to reach all PCI busses (Cardbus) |
137 | */ | 137 | */ |
138 | #ifdef __i386__ | 138 | #ifdef __i386__ |
139 | static int __devinit assign_all_busses(struct dmi_system_id *d) | 139 | static int __devinit assign_all_busses(const struct dmi_system_id *d) |
140 | { | 140 | { |
141 | pci_probe |= PCI_ASSIGN_ALL_BUSSES; | 141 | pci_probe |= PCI_ASSIGN_ALL_BUSSES; |
142 | printk(KERN_INFO "%s detected: enabling PCI bus# renumbering" | 142 | printk(KERN_INFO "%s detected: enabling PCI bus# renumbering" |
diff --git a/arch/x86/pci/irq.c b/arch/x86/pci/irq.c index 8434f2323b87..d98c6b096f8e 100644 --- a/arch/x86/pci/irq.c +++ b/arch/x86/pci/irq.c | |||
@@ -1010,7 +1010,7 @@ static void __init pcibios_fixup_irqs(void) | |||
1010 | * Work around broken HP Pavilion Notebooks which assign USB to | 1010 | * Work around broken HP Pavilion Notebooks which assign USB to |
1011 | * IRQ 9 even though it is actually wired to IRQ 11 | 1011 | * IRQ 9 even though it is actually wired to IRQ 11 |
1012 | */ | 1012 | */ |
1013 | static int __init fix_broken_hp_bios_irq9(struct dmi_system_id *d) | 1013 | static int __init fix_broken_hp_bios_irq9(const struct dmi_system_id *d) |
1014 | { | 1014 | { |
1015 | if (!broken_hp_bios_irq9) { | 1015 | if (!broken_hp_bios_irq9) { |
1016 | broken_hp_bios_irq9 = 1; | 1016 | broken_hp_bios_irq9 = 1; |
@@ -1023,7 +1023,7 @@ static int __init fix_broken_hp_bios_irq9(struct dmi_system_id *d) | |||
1023 | * Work around broken Acer TravelMate 360 Notebooks which assign | 1023 | * Work around broken Acer TravelMate 360 Notebooks which assign |
1024 | * Cardbus to IRQ 11 even though it is actually wired to IRQ 10 | 1024 | * Cardbus to IRQ 11 even though it is actually wired to IRQ 10 |
1025 | */ | 1025 | */ |
1026 | static int __init fix_acer_tm360_irqrouting(struct dmi_system_id *d) | 1026 | static int __init fix_acer_tm360_irqrouting(const struct dmi_system_id *d) |
1027 | { | 1027 | { |
1028 | if (!acer_tm360_irqrouting) { | 1028 | if (!acer_tm360_irqrouting) { |
1029 | acer_tm360_irqrouting = 1; | 1029 | acer_tm360_irqrouting = 1; |