diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2017-04-06 15:29:48 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2017-04-06 15:29:48 +0000 |
commit | dd81727875c853276ef58325f49f1ad0f544f6f2 (patch) | |
tree | d95a23e1d70ba83404f73357c64159c2e386161c | |
parent | 2164ba48b03e6b559a72ad22d669013b1e6e9d53 (diff) |
Use the correct interrupt disestablish routine.
-rw-r--r-- | sys/arch/octeon/dev/octmmc.c | 6 |
1 files 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) |