Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/nvidia Match nvidia, tegra210-rtc and nvidia, teg...
details: https://anonhg.NetBSD.org/src/rev/fe37a4548124
branches: trunk
changeset: 353849:fe37a4548124
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu May 25 23:53:05 2017 +0000
description:
Match nvidia,tegra210-rtc and nvidia,tegra20-rtc compat strings.
diffstat:
sys/arch/arm/nvidia/tegra_rtc.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 5bece01ca0ed -r fe37a4548124 sys/arch/arm/nvidia/tegra_rtc.c
--- a/sys/arch/arm/nvidia/tegra_rtc.c Thu May 25 23:52:10 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_rtc.c Thu May 25 23:53:05 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_rtc.c,v 1.3 2017/04/22 13:24:45 jmcneill Exp $ */
+/* $NetBSD: tegra_rtc.c,v 1.4 2017/05/25 23:53:05 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_rtc.c,v 1.3 2017/04/22 13:24:45 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_rtc.c,v 1.4 2017/05/25 23:53:05 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -70,7 +70,12 @@
static int
tegra_rtc_match(device_t parent, cfdata_t cf, void *aux)
{
- const char * const compatible[] = { "nvidia,tegra124-rtc", NULL };
+ const char * const compatible[] = {
+ "nvidia,tegra210-rtc",
+ "nvidia,tegra124-rtc",
+ "nvidia,tegra20-rtc",
+ NULL
+ };
struct fdt_attach_args * const faa = aux;
return of_match_compatible(faa->faa_phandle, compatible);
Home |
Main Index |
Thread Index |
Old Index