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>
This commit is contained in:

committed by
Thomas Gleixner

parent
4c8ab98249
commit
ebdd561a19
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user