From 05f021ac5d7b773ea0a41164485905fccb764653 Mon Sep 17 00:00:00 2001 From: visa Date: Thu, 6 Apr 2017 15:29:47 +0000 Subject: [PATCH] Use the correct interrupt disestablish routine. --- sys/arch/octeon/dev/octmmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/octeon/dev/octmmc.c b/sys/arch/octeon/dev/octmmc.c index 60a9d457954..914c269a26c 100644 --- a/sys/arch/octeon/dev/octmmc.c +++ b/sys/arch/octeon/dev/octmmc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: octmmc.c,v 1.1 2016/12/21 13:59:57 visa Exp $ */ +/* $OpenBSD: octmmc.c,v 1.2 2017/04/06 15:29:47 visa Exp $ */ /* * Copyright (c) 2016 Visa Hankala @@ -246,9 +246,9 @@ octmmc_attach(struct device *parent, struct device *self, void *aux) error: if (sc->sc_dma_ih != NULL) - octeon_intr_disestablish(sc->sc_dma_ih); + octeon_intr_disestablish_fdt(sc->sc_dma_ih); if (sc->sc_cmd_ih != NULL) - octeon_intr_disestablish(sc->sc_cmd_ih); + octeon_intr_disestablish_fdt(sc->sc_cmd_ih); if (sc->sc_dma_data != NULL) bus_dmamap_destroy(sc->sc_dmat, sc->sc_dma_data); if (sc->sc_dma_ioh != 0) -- 2.20.1