svn commit: r329990 - head/sys/dev/uart

Andrew Turner andrew at FreeBSD.org
Sun Feb 25 19:33:28 UTC 2018


Author: andrew
Date: Sun Feb 25 19:33:27 2018
New Revision: 329990
URL: https://svnweb.freebsd.org/changeset/base/329990

Log:
  Rename the FDT compat_data array to a bus-specific name.
  
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/dev/uart/uart_dev_pl011.c

Modified: head/sys/dev/uart/uart_dev_pl011.c
==============================================================================
--- head/sys/dev/uart/uart_dev_pl011.c	Sun Feb 25 18:42:59 2018	(r329989)
+++ head/sys/dev/uart/uart_dev_pl011.c	Sun Feb 25 19:33:27 2018	(r329990)
@@ -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


More information about the svn-src-all mailing list