Fix the build:
* Add acpi_if.h to the SRC list in the uart module * Only include new acpi headers when they are needed Obtained from: ABT Systems Ltd MFC after: 1 month Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
8ccc77aac2
commit
32366b1fc6
@ -41,9 +41,11 @@ __FBSDID("$FreeBSD$");
|
||||
#include <dev/uart/uart_bus.h>
|
||||
#include <dev/uart/uart_cpu_acpi.h>
|
||||
|
||||
#ifdef __aarch64__
|
||||
#include <contrib/dev/acpica/include/acpi.h>
|
||||
#include <contrib/dev/acpica/include/accommon.h>
|
||||
#include <dev/acpica/acpivar.h>
|
||||
#endif
|
||||
|
||||
static int uart_acpi_probe(device_t dev);
|
||||
|
||||
|
@ -32,7 +32,8 @@ SRCS= uart_bus_acpi.c ${uart_bus_ebus} uart_bus_isa.c uart_bus_pccard.c \
|
||||
uart_dev_z8530.c \
|
||||
uart_if.c uart_if.h uart_subr.c uart_tty.c
|
||||
|
||||
SRCS+= bus_if.h card_if.h device_if.h isa_if.h ${ofw_bus_if} pci_if.h \
|
||||
SRCS+= acpi_if.h bus_if.h card_if.h device_if.h isa_if.h ${ofw_bus_if} \
|
||||
pci_if.h \
|
||||
power_if.h pccarddevs.h serdev_if.h
|
||||
SRCS+= opt_platform.h opt_uart.h
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user