Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2018 19:33:27 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r329990 - head/sys/dev/uart
Message-ID:  <201802251933.w1PJXRIh090187@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802251933.w1PJXRIh090187>