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-i2c and nvidia, teg...
details: https://anonhg.NetBSD.org/src/rev/fbc743a54369
branches: trunk
changeset: 353844:fbc743a54369
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu May 25 23:43:49 2017 +0000
description:
Match nvidia,tegra210-i2c and nvidia,tegra114-i2c compat strings.
diffstat:
sys/arch/arm/nvidia/tegra_i2c.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r e836e3bfe938 -r fbc743a54369 sys/arch/arm/nvidia/tegra_i2c.c
--- a/sys/arch/arm/nvidia/tegra_i2c.c Thu May 25 23:42:44 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_i2c.c Thu May 25 23:43:49 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_i2c.c,v 1.15 2016/08/08 14:40:57 jakllsch Exp $ */
+/* $NetBSD: tegra_i2c.c,v 1.16 2017/05/25 23:43:49 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_i2c.c,v 1.15 2016/08/08 14:40:57 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_i2c.c,v 1.16 2017/05/25 23:43:49 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -95,7 +95,12 @@
static int
tegra_i2c_match(device_t parent, cfdata_t cf, void *aux)
{
- const char * const compatible[] = { "nvidia,tegra124-i2c", NULL };
+ const char * const compatible[] = {
+ "nvidia,tegra210-i2c",
+ "nvidia,tegra124-i2c",
+ "nvidia,tegra114-i2c",
+ NULL
+ };
struct fdt_attach_args * const faa = aux;
return of_match_compatible(faa->faa_phandle, compatible);
Home |
Main Index |
Thread Index |
Old Index