Hello,
This break uart in ARM.
Based on the comment of the macros since we're using our own device
the ealier code was correct.
Cheers,
On Fri, 24 Feb 2017 16:37:35 + (UTC)
Ruslan Bukin wrote:
> 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)_snps_class },
> { NULL, (uintptr_t)NULL }
> };
> -UART_FDT_CLASS(compat_data);
> +UART_FDT_CLASS_AND_DEVICE(compat_data);
>
> #ifdef EXT_RESOURCES
> static int
--
Emmanuel Vadot
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"