diff options
author | miko <miko@cvs.openbsd.org> | 2018-09-14 08:37:35 +0000 |
---|---|---|
committer | miko <miko@cvs.openbsd.org> | 2018-09-14 08:37:35 +0000 |
commit | 16119d5c3353f8dd21d1a3b409bc9f350dad7f27 (patch) | |
tree | 1a85257b5e7d6c738fe5bb451f534bd6ee1fcf9d /sys/dev/pci/eap.c | |
parent | 7a4c369ad6a4c96b309d62885c3f8ae6fe0306c4 (diff) |
mark some suspend/resume functions always returning zero as void; ok ratchov@
Diffstat (limited to 'sys/dev/pci/eap.c')
-rw-r--r-- | sys/dev/pci/eap.c | 8 |
1 files changed, 3 insertions, 5 deletions
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); } |