summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/mpspec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/x86/mpspec.c b/src/arch/x86/mpspec.c
index 05605adf2e..7541eeb493 100644
--- a/src/arch/x86/mpspec.c
+++ b/src/arch/x86/mpspec.c
@@ -529,12 +529,12 @@ unsigned long __weak write_smp_table(unsigned long addr)
struct drivers_generic_ioapic_config *ioapic_config;
struct mp_config_table *mc;
int isa_bus, pin, parentpin;
- struct device *dev;
- struct device *parent;
- struct device *oldparent;
+ const struct device *dev;
+ const struct device *parent;
+ const struct device *oldparent;
void *tmp, *v;
int isaioapic = -1, have_fixed_entries;
- struct pci_irq_info *pci_irq_info;
+ const struct pci_irq_info *pci_irq_info;
v = smp_write_floating_table(addr, 0);
mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN);