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-pmc compat string.



details:   https://anonhg.NetBSD.org/src/rev/319cc6d5e940
branches:  trunk
changeset: 824149:319cc6d5e940
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu May 25 23:52:10 2017 +0000

description:
Match nvidia,tegra210-pmc compat string.

diffstat:

 sys/arch/arm/nvidia/tegra_pmc.c |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 347b724f12a4 -r 319cc6d5e940 sys/arch/arm/nvidia/tegra_pmc.c
--- a/sys/arch/arm/nvidia/tegra_pmc.c   Thu May 25 23:50:22 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_pmc.c   Thu May 25 23:52:10 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_pmc.c,v 1.9 2017/05/25 23:15:39 jmcneill Exp $ */
+/* $NetBSD: tegra_pmc.c,v 1.10 2017/05/25 23:52:10 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_pmc.c,v 1.9 2017/05/25 23:15:39 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_pmc.c,v 1.10 2017/05/25 23:52:10 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -59,7 +59,11 @@
 static int
 tegra_pmc_match(device_t parent, cfdata_t cf, void *aux)
 {
-       const char * const compatible[] = { "nvidia,tegra124-pmc", NULL };
+       const char * const compatible[] = {
+               "nvidia,tegra210-pmc",
+               "nvidia,tegra124-pmc",
+               NULL
+       };
        struct fdt_attach_args * const faa = aux;
 
        return of_match_compatible(faa->faa_phandle, compatible);



Home | Main Index | Thread Index | Old Index