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:
committed by
Patrick Georgi
parent
ecef322bf4
commit
9ba8f7c28e
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user