diff options
author | Jan Beulich <jbeulich@novell.com> | 2008-05-12 15:43:38 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-25 08:58:30 +0200 |
commit | ebdd561a19d7917ac49fff9c355aa4833c504bf1 (patch) | |
tree | 194a8de1df018804d55d13801f202ef473f40093 /arch/x86/kernel/reboot_fixups_32.c | |
parent | 4c8ab98249fa3cead320ec0ee4cde9960b951989 (diff) | |
download | op-kernel-dev-ebdd561a19d7917ac49fff9c355aa4833c504bf1.zip op-kernel-dev-ebdd561a19d7917ac49fff9c355aa4833c504bf1.tar.gz |
x86: constify data in reboot.c
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/reboot_fixups_32.c')
-rw-r--r-- | arch/x86/kernel/reboot_fixups_32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/reboot_fixups_32.c b/arch/x86/kernel/reboot_fixups_32.c index dec0b5e..61a8377 100644 --- a/arch/x86/kernel/reboot_fixups_32.c +++ b/arch/x86/kernel/reboot_fixups_32.c @@ -49,7 +49,7 @@ struct device_fixup { void (*reboot_fixup)(struct pci_dev *); }; -static struct device_fixup fixups_table[] = { +static const struct device_fixup fixups_table[] = { { PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5530_LEGACY, cs5530a_warm_reset }, { PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_ISA, cs5536_warm_reset }, { PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SC1100_BRIDGE, cs5530a_warm_reset }, @@ -64,7 +64,7 @@ static struct device_fixup fixups_table[] = { */ void mach_reboot_fixups(void) { - struct device_fixup *cur; + const struct device_fixup *cur; struct pci_dev *dev; int i; |