Rename the FDT compat_data array to a bus-specific name.
Sponsored by: DARPA, AFRL
This commit is contained in:
parent
bf56e64a4c
commit
db65b25f88
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=329990
@ -323,11 +323,11 @@ static struct uart_class uart_pl011_class = {
|
|||||||
|
|
||||||
|
|
||||||
#ifdef FDT
|
#ifdef FDT
|
||||||
static struct ofw_compat_data compat_data[] = {
|
static struct ofw_compat_data fdt_compat_data[] = {
|
||||||
{"arm,pl011", (uintptr_t)&uart_pl011_class},
|
{"arm,pl011", (uintptr_t)&uart_pl011_class},
|
||||||
{NULL, (uintptr_t)NULL},
|
{NULL, (uintptr_t)NULL},
|
||||||
};
|
};
|
||||||
UART_FDT_CLASS_AND_DEVICE(compat_data);
|
UART_FDT_CLASS_AND_DEVICE(fdt_compat_data);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DEV_ACPI
|
#ifdef DEV_ACPI
|
||||||
|
Loading…
Reference in New Issue
Block a user