From 16119d5c3353f8dd21d1a3b409bc9f350dad7f27 Mon Sep 17 00:00:00 2001 From: miko Date: Fri, 14 Sep 2018 08:37:35 +0000 Subject: mark some suspend/resume functions always returning zero as void; ok ratchov@ --- sys/dev/pci/eap.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'sys/dev/pci/eap.c') diff --git a/sys/dev/pci/eap.c b/sys/dev/pci/eap.c index e6380526c37..bc20aa2e9a9 100644 --- a/sys/dev/pci/eap.c +++ b/sys/dev/pci/eap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eap.c,v 1.55 2018/09/13 04:07:20 miko Exp $ */ +/* $OpenBSD: eap.c,v 1.56 2018/09/14 08:37:34 miko Exp $ */ /* $NetBSD: eap.c,v 1.46 2001/09/03 15:07:37 reinoud Exp $ */ /* @@ -167,7 +167,7 @@ int eap_trigger_input(void *, void *, void *, int, void (*)(void *), void *, struct audio_params *); int eap_halt_output(void *); int eap_halt_input(void *); -int eap_resume(struct eap_softc *); +void eap_resume(struct eap_softc *); void eap1370_write_codec(struct eap_softc *, int, int); int eap1370_mixer_set_port(void *, mixer_ctrl_t *); int eap1370_mixer_get_port(void *, mixer_ctrl_t *); @@ -594,7 +594,7 @@ eap_attach(struct device *parent, struct device *self, void *aux) #endif } -int +void eap_resume(struct eap_softc *sc) { int i; @@ -650,8 +650,6 @@ eap_resume(struct eap_softc *sc) /* Interrupt enable */ EWRITE4(sc, EAP_SIC, EAP_P2_INTR_EN | EAP_R1_INTR_EN); } - - return (0); } -- cgit v1.2.3