Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/rockchip Match rockchip,rk3288-i2c



details:   https://anonhg.NetBSD.org/src/rev/722b4f563c09
branches:  trunk
changeset: 1025568:722b4f563c09
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Nov 13 01:08:15 2021 +0000

description:
Match rockchip,rk3288-i2c

diffstat:

 sys/arch/arm/rockchip/rk_i2c.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 0a7e3e6ac471 -r 722b4f563c09 sys/arch/arm/rockchip/rk_i2c.c
--- a/sys/arch/arm/rockchip/rk_i2c.c    Sat Nov 13 01:07:09 2021 +0000
+++ b/sys/arch/arm/rockchip/rk_i2c.c    Sat Nov 13 01:08:15 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rk_i2c.c,v 1.11 2021/11/12 22:02:08 jmcneill Exp $ */
+/* $NetBSD: rk_i2c.c,v 1.12 2021/11/13 01:08:15 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: rk_i2c.c,v 1.11 2021/11/12 22:02:08 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rk_i2c.c,v 1.12 2021/11/13 01:08:15 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -104,9 +104,7 @@
 #define        RKI2C_HAS_PCLK          __BIT(0)
 
 static const struct device_compatible_entry compat_data[] = {
-#if notyet
        { .compat = "rockchip,rk3288-i2c",      .value = 0 },
-#endif
        { .compat = "rockchip,rk3399-i2c",      .value = RKI2C_HAS_PCLK },
        DEVICE_COMPAT_EOL
 };



Home | Main Index | Thread Index | Old Index