Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/imx Fix call of imxclock. Patch from PR/45359.
details: https://anonhg.NetBSD.org/src/rev/eba2963625bf
branches: trunk
changeset: 779337:eba2963625bf
user: matt <matt%NetBSD.org@localhost>
date: Sun May 20 14:08:18 2012 +0000
description:
Fix call of imxclock. Patch from PR/45359.
diffstat:
sys/arch/arm/imx/imxclock.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 37cab9435443 -r eba2963625bf sys/arch/arm/imx/imxclock.c
--- a/sys/arch/arm/imx/imxclock.c Sun May 20 10:28:44 2012 +0000
+++ b/sys/arch/arm/imx/imxclock.c Sun May 20 14:08:18 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: imxclock.c,v 1.5 2012/04/17 09:33:31 bsh Exp $ */
+/* $NetBSD: imxclock.c,v 1.6 2012/05/20 14:08:18 matt Exp $ */
/*
* Copyright (c) 2009, 2010 Genetec corp. All rights reserved.
* Written by Hashimoto Kenichi for Genetec corp.
@@ -104,7 +104,7 @@
EPIT_EPITCR, reg);
epit1_sc->sc_ih = intr_establish(epit1_sc->sc_intr, IPL_CLOCK,
- IST_LEVEL, imxclock_intr, epit1_sc);
+ IST_LEVEL, imxclock_intr, NULL);
}
#if 0
@@ -122,7 +122,7 @@
static int
imxclock_intr(void *arg)
{
- struct imxclock_softc *sc = arg;
+ struct imxclock_softc *sc = epit1_sc;
bus_space_write_4(sc->sc_iot, sc->sc_ioh, EPIT_EPITSR, 1);
atomic_add_32(&imxclock_base, sc->sc_reload_value);
Home |
Main Index |
Thread Index |
Old Index