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/5bece01ca0ed
branches: trunk
changeset: 353848:5bece01ca0ed
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 c9f40efd1f49 -r 5bece01ca0ed 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