acpi_ged: fix build, as module and non INTRNG case.
Reviewed-by: cy Differential Revision: https://reviews.freebsd.org/D37104
This commit is contained in:
parent
7322a6bcac
commit
9cf5db6369
@ -198,7 +198,7 @@ acpi_ged_attach(device_t dev)
|
||||
}
|
||||
}
|
||||
#else
|
||||
rawirq = rman_get_start(sc->evt[i].r);
|
||||
rawirq = rman_get_start(sc->evts[i].r);
|
||||
trig = INTR_TRIGGER_LEVEL;
|
||||
if (ACPI_SUCCESS(acpi_lookup_irq_resource
|
||||
(dev, sc->evts[i].rid,
|
||||
|
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${SRCTOP}/sys/dev/acpica
|
||||
.if ${TARGET_ARCH} == aarch64
|
||||
.if ${MACHINE_CPUARCH} == "aarch64"
|
||||
CFLAGS += -DINTRNG
|
||||
.endif
|
||||
KMOD= acpi_ged
|
||||
|
Loading…
Reference in New Issue
Block a user