aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/reboot_fixups_32.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2008-05-12 15:43:38 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 08:58:30 +0200
commitebdd561a19d7917ac49fff9c355aa4833c504bf1 (patch)
tree194a8de1df018804d55d13801f202ef473f40093 /arch/x86/kernel/reboot_fixups_32.c
parenti386: move FIX_ACPI_* into non-permanent range (diff)
downloadlinux-dev-ebdd561a19d7917ac49fff9c355aa4833c504bf1.tar.xz
linux-dev-ebdd561a19d7917ac49fff9c355aa4833c504bf1.zip
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.c4
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 dec0b5ec25c2..61a837743fe5 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;