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-sdhci compat string.
details: https://anonhg.NetBSD.org/src/rev/00caedde9c49
branches: trunk
changeset: 353850:00caedde9c49
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu May 25 23:53:50 2017 +0000
description:
Match nvidia,tegra210-sdhci compat string.
diffstat:
sys/arch/arm/nvidia/tegra_sdhc.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r fe37a4548124 -r 00caedde9c49 sys/arch/arm/nvidia/tegra_sdhc.c
--- a/sys/arch/arm/nvidia/tegra_sdhc.c Thu May 25 23:53:05 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_sdhc.c Thu May 25 23:53:50 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_sdhc.c,v 1.19 2017/04/22 21:50:49 jmcneill Exp $ */
+/* $NetBSD: tegra_sdhc.c,v 1.20 2017/05/25 23:53:50 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -31,7 +31,7 @@
#include "locators.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_sdhc.c,v 1.19 2017/04/22 21:50:49 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_sdhc.c,v 1.20 2017/05/25 23:53:50 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -81,7 +81,11 @@
static int
tegra_sdhc_match(device_t parent, cfdata_t cf, void *aux)
{
- const char * const compatible[] = { "nvidia,tegra124-sdhci", NULL };
+ const char * const compatible[] = {
+ "nvidia,tegra210-sdhci",
+ "nvidia,tegra124-sdhci",
+ NULL
+ };
struct fdt_attach_args * const faa = aux;
return of_match_compatible(faa->faa_phandle, compatible);
Home |
Main Index |
Thread Index |
Old Index