Skip to content
Snippets Groups Projects
Commit deaa5d3b authored by Mark Cave-Ayland's avatar Mark Cave-Ayland
Browse files

lasi: remove address space parameter from lasi_initfn()


Now that all of the LASI devices are mapped by the board, this parameter is no
longer required.

Signed-off-by: default avatarMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: default avatarHelge Deller <deller@gmx.de>
Message-Id: <20220504092600.10048-38-mark.cave-ayland@ilande.co.uk>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Signed-off-by: default avatarMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
parent d26c575c
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
#include "hppa_hardware.h"
LasiState *lasi_initfn(MemoryRegion *);
LasiState *lasi_initfn(void);
#define enable_lasi_lan() 0
/* hppa_pci.c. */
......
......@@ -227,7 +227,7 @@ static void lasi_set_irq(void *opaque, int irq, int level)
}
}
LasiState *lasi_initfn(MemoryRegion *address_space)
LasiState *lasi_initfn(void)
{
DeviceState *dev;
......
......@@ -178,7 +178,7 @@ static void machine_hppa_init(MachineState *machine)
/* Init Lasi chip */
lasi_dev = DEVICE(lasi_initfn(addr_space));
lasi_dev = DEVICE(lasi_initfn());
memory_region_add_subregion(addr_space, LASI_HPA,
sysbus_mmio_get_region(
SYS_BUS_DEVICE(lasi_dev), 0));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment