Rename the FDT compat_data array to a bus-specific name.

Sponsored by:	DARPA, AFRL
This commit is contained in:
Andrew Turner 2018-02-25 19:33:27 +00:00
parent bf56e64a4c
commit db65b25f88
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=329990

View File

@ -323,11 +323,11 @@ static struct uart_class uart_pl011_class = {
#ifdef FDT
static struct ofw_compat_data compat_data[] = {
static struct ofw_compat_data fdt_compat_data[] = {
{"arm,pl011", (uintptr_t)&uart_pl011_class},
{NULL, (uintptr_t)NULL},
};
UART_FDT_CLASS_AND_DEVICE(compat_data);
UART_FDT_CLASS_AND_DEVICE(fdt_compat_data);
#endif
#ifdef DEV_ACPI