device: constify some variables

Change-Id: I6830a65bc9cea2907f4209bb97a53ccebcbf248d
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-on: https://review.coreboot.org/25873
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Lubomir Rintel
2018-04-26 00:00:22 +02:00
committed by Patrick Georgi
parent ecef322bf4
commit 9ba8f7c28e
4 changed files with 22 additions and 22 deletions

View File

@@ -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);