diff options
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/ufshci.c | 5 | ||||
-rw-r--r-- | sys/dev/ic/ufshcivar.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/ic/ufshci.c b/sys/dev/ic/ufshci.c index 434aebfcc53..db08cbaae2a 100644 --- a/sys/dev/ic/ufshci.c +++ b/sys/dev/ic/ufshci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ufshci.c,v 1.41 2024/08/30 18:22:41 mglocker Exp $ */ +/* $OpenBSD: ufshci.c,v 1.42 2024/10/08 00:46:29 jsg Exp $ */ /* * Copyright (c) 2022 Marcus Glocker <mglocker@openbsd.org> @@ -1380,8 +1380,9 @@ ufshci_xfer_complete(struct ufshci_softc *sc) } int -ufshci_activate(struct ufshci_softc *sc, int act) +ufshci_activate(struct device *self, int act) { + struct ufshci_softc *sc = (struct ufshci_softc *)self; int rv = 0; switch (act) { diff --git a/sys/dev/ic/ufshcivar.h b/sys/dev/ic/ufshcivar.h index bdd7a210180..d41e58f557e 100644 --- a/sys/dev/ic/ufshcivar.h +++ b/sys/dev/ic/ufshcivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ufshcivar.h,v 1.9 2024/05/29 00:48:15 jsg Exp $ */ +/* $OpenBSD: ufshcivar.h,v 1.10 2024/10/08 00:46:29 jsg Exp $ */ /* * Copyright (c) 2022 Marcus Glocker <mglocker@openbsd.org> @@ -83,4 +83,4 @@ struct ufshci_softc { int ufshci_intr(void *); int ufshci_attach(struct ufshci_softc *); -int ufshci_activate(struct ufshci_softc *, int); +int ufshci_activate(struct device *, int); |