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

Ruslan Bukin br at FreeBSD.org
Fri Feb 24 16:37:36 UTC 2017


Author: br
Date: Fri Feb 24 16:37:35 2017
New Revision: 314212
URL: https://svnweb.freebsd.org/changeset/base/314212

Log:
  Use correct macro for Synopsys UART driver declaration.

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

Modified: head/sys/dev/uart/uart_dev_snps.c
==============================================================================
--- head/sys/dev/uart/uart_dev_snps.c	Fri Feb 24 16:11:55 2017	(r314211)
+++ head/sys/dev/uart/uart_dev_snps.c	Fri Feb 24 16:37:35 2017	(r314212)
@@ -104,7 +104,7 @@ static struct ofw_compat_data compat_dat
 	{ "snps,dw-apb-uart",		(uintptr_t)&uart_snps_class },
 	{ NULL,				(uintptr_t)NULL }
 };
-UART_FDT_CLASS(compat_data);
+UART_FDT_CLASS_AND_DEVICE(compat_data);
 
 #ifdef EXT_RESOURCES
 static int


More information about the svn-src-all mailing list