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 Process assigned-clocks
details: https://anonhg.NetBSD.org/src/rev/5ca4a0fd5732
branches: trunk
changeset: 366553:5ca4a0fd5732
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Sep 02 10:07:17 2018 +0000
description:
Process assigned-clocks
diffstat:
sys/arch/arm/rockchip/rk_i2c.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r eaacb1a24944 -r 5ca4a0fd5732 sys/arch/arm/rockchip/rk_i2c.c
--- a/sys/arch/arm/rockchip/rk_i2c.c Sun Sep 02 09:57:33 2018 +0000
+++ b/sys/arch/arm/rockchip/rk_i2c.c Sun Sep 02 10:07:17 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rk_i2c.c,v 1.3 2018/09/02 01:16:03 jmcneill Exp $ */
+/* $NetBSD: rk_i2c.c,v 1.4 2018/09/02 10:07:17 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.3 2018/09/02 01:16:03 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rk_i2c.c,v 1.4 2018/09/02 10:07:17 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -419,6 +419,8 @@
aprint_naive("\n");
aprint_normal(": Rockchip I2C (%u Hz)\n", sc->sc_clkfreq);
+ fdtbus_clock_assign(phandle);
+
rk_i2c_init(sc);
sc->sc_ic.ic_cookie = sc;
Home |
Main Index |
Thread Index |
Old Index