diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-05-13 01:15:54 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-05-13 01:15:54 +0000 |
commit | 385a3caf2ecaf3de07747290e79fa8d1f7c618b5 (patch) | |
tree | d780db673ed87979f4e761beb9fceda2b7594fe4 /sys/arch/armv7 | |
parent | f30876db80c9d1c4d008da7e477105227561aabc (diff) |
remove prototypes with no matching function
ok mpi@
Diffstat (limited to 'sys/arch/armv7')
-rw-r--r-- | sys/arch/armv7/exynos/exiic.c | 1 | ||||
-rw-r--r-- | sys/arch/armv7/exynos/exmct.c | 4 | ||||
-rw-r--r-- | sys/arch/armv7/omap/amdisplay.c | 3 | ||||
-rw-r--r-- | sys/arch/armv7/omap/omapid.c | 3 | ||||
-rw-r--r-- | sys/arch/armv7/omap/omdisplay.c | 3 | ||||
-rw-r--r-- | sys/arch/armv7/omap/omehci.c | 7 | ||||
-rw-r--r-- | sys/arch/armv7/omap/prcm.c | 3 | ||||
-rw-r--r-- | sys/arch/armv7/omap/prcmvar.h | 3 | ||||
-rw-r--r-- | sys/arch/armv7/sunxi/sxitimer.c | 3 |
9 files changed, 8 insertions, 22 deletions
diff --git a/sys/arch/armv7/exynos/exiic.c b/sys/arch/armv7/exynos/exiic.c index fae1ee1a45e..b806486b232 100644 --- a/sys/arch/armv7/exynos/exiic.c +++ b/sys/arch/armv7/exynos/exiic.c @@ -82,7 +82,6 @@ int exiic_detach(struct device *, int); void exiic_scan(struct device *, struct i2cbus_attach_args *, void *); void exiic_setspeed(struct exiic_softc *, int); int exiic_wait_state(struct exiic_softc *, uint32_t, uint32_t, uint32_t); -int exiic_start(struct exiic_softc *, int, int, void *, int); void exiic_xfer_start(struct exiic_softc *); int exiic_xfer_wait(struct exiic_softc *); diff --git a/sys/arch/armv7/exynos/exmct.c b/sys/arch/armv7/exynos/exmct.c index ec30381b806..c32413a1842 100644 --- a/sys/arch/armv7/exynos/exmct.c +++ b/sys/arch/armv7/exynos/exmct.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exmct.c,v 1.6 2021/10/24 17:52:27 mpi Exp $ */ +/* $OpenBSD: exmct.c,v 1.7 2024/05/13 01:15:50 jsg Exp $ */ /* * Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se> * @@ -45,8 +45,6 @@ struct exmct_softc *exmct_sc; int exmct_match(struct device *, void *, void *); void exmct_attach(struct device *, struct device *, void *); -void exmct_stop(void); -void exmct_reset(void); const struct cfattach exmct_ca = { sizeof (struct exmct_softc), exmct_match, exmct_attach diff --git a/sys/arch/armv7/omap/amdisplay.c b/sys/arch/armv7/omap/amdisplay.c index 551fb3b1804..a85e67e482e 100644 --- a/sys/arch/armv7/omap/amdisplay.c +++ b/sys/arch/armv7/omap/amdisplay.c @@ -1,4 +1,4 @@ -/* $OpenBSD: amdisplay.c,v 1.17 2022/07/15 17:57:25 kettenis Exp $ */ +/* $OpenBSD: amdisplay.c,v 1.18 2024/05/13 01:15:50 jsg Exp $ */ /* * Copyright (c) 2016 Ian Sutton <ians@openbsd.org> * @@ -91,7 +91,6 @@ struct amdisplay_softc { int amdisplay_match(struct device *, void *, void *); void amdisplay_attach(struct device *, struct device *, void *); int amdisplay_detach(struct device *, int); -int amdisplay_activate(struct device *, int); int amdisplay_intr(void *); int amdisplay_ioctl(void *, u_long, caddr_t, int, struct proc *); diff --git a/sys/arch/armv7/omap/omapid.c b/sys/arch/armv7/omap/omapid.c index 7de7818d791..e2d7d87dbc9 100644 --- a/sys/arch/armv7/omap/omapid.c +++ b/sys/arch/armv7/omap/omapid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: omapid.c,v 1.5 2021/10/24 17:52:27 mpi Exp $ */ +/* $OpenBSD: omapid.c,v 1.6 2024/05/13 01:15:50 jsg Exp $ */ /* * Copyright (c) 2013 Dale Rahn <drahn@dalerahn.com> * @@ -44,7 +44,6 @@ struct omapid_softc *omapid_sc; void omapid_attach(struct device *parent, struct device *self, void *args); -void omapid_wpending(int flags); const struct cfattach omapid_ca = { sizeof (struct omapid_softc), NULL, omapid_attach diff --git a/sys/arch/armv7/omap/omdisplay.c b/sys/arch/armv7/omap/omdisplay.c index e80a2218421..83aa3c8a5da 100644 --- a/sys/arch/armv7/omap/omdisplay.c +++ b/sys/arch/armv7/omap/omdisplay.c @@ -1,4 +1,4 @@ -/* $OpenBSD: omdisplay.c,v 1.10 2022/07/15 17:57:25 kettenis Exp $ */ +/* $OpenBSD: omdisplay.c,v 1.11 2024/05/13 01:15:50 jsg Exp $ */ /* * Copyright (c) 2007 Dale Rahn <drahn@openbsd.org> * @@ -453,7 +453,6 @@ void omdisplay_free_screen(void *v, void *cookie); void omdisplay_start(struct omdisplay_softc *sc); void omdisplay_stop(struct omdisplay_softc *sc); int omdisplay_intr(void *v); -void omdisplay_dumpreg(struct omdisplay_softc *sc); const struct cfattach omdisplay_ca = { sizeof (struct omdisplay_softc), omdisplay_match, omdisplay_attach, diff --git a/sys/arch/armv7/omap/omehci.c b/sys/arch/armv7/omap/omehci.c index 7cbfa300469..53eb107326c 100644 --- a/sys/arch/armv7/omap/omehci.c +++ b/sys/arch/armv7/omap/omehci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: omehci.c,v 1.9 2021/10/24 17:52:27 mpi Exp $ */ +/* $OpenBSD: omehci.c,v 1.10 2024/05/13 01:15:50 jsg Exp $ */ /* * Copyright (c) 2005 David Gwynne <dlg@openbsd.org> @@ -85,11 +85,6 @@ struct omehci_softc { int omehci_init(struct omehci_softc *); void omehci_soft_phy_reset(struct omehci_softc *sc, unsigned int port); -void omehci_enable(struct omehci_softc *); -void omehci_disable(struct omehci_softc *); -void omehci_utmi_init(struct omehci_softc *sc, unsigned int en_mask); -void misc_setup(struct omehci_softc *sc); -void omehci_uhh_init(struct omehci_softc *sc); const struct cfattach omehci_ca = { sizeof (struct omehci_softc), omehci_match, omehci_attach, diff --git a/sys/arch/armv7/omap/prcm.c b/sys/arch/armv7/omap/prcm.c index 25090c29a1b..027b8d1a7bb 100644 --- a/sys/arch/armv7/omap/prcm.c +++ b/sys/arch/armv7/omap/prcm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: prcm.c,v 1.18 2021/10/24 17:52:28 mpi Exp $ */ +/* $OpenBSD: prcm.c,v 1.19 2024/05/13 01:15:50 jsg Exp $ */ /* * Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org> * @@ -88,7 +88,6 @@ struct prcm_softc { uint32_t cm2_avail; }; -int prcm_match(struct device *, void *, void *); void prcm_attach(struct device *, struct device *, void *); int prcm_setup_dpll5(struct prcm_softc *); uint32_t prcm_v3_bit(int mod); diff --git a/sys/arch/armv7/omap/prcmvar.h b/sys/arch/armv7/omap/prcmvar.h index 0e823de4c28..e65c44a0445 100644 --- a/sys/arch/armv7/omap/prcmvar.h +++ b/sys/arch/armv7/omap/prcmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: prcmvar.h,v 1.8 2020/04/05 13:11:13 kettenis Exp $ */ +/* $OpenBSD: prcmvar.h,v 1.9 2024/05/13 01:15:50 jsg Exp $ */ /* * Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org> * @@ -17,7 +17,6 @@ void prcm_setclock(int clock, int speed); void prcm_enablemodule(int mod); -void prcm_disablemodule(int mod); #define PRCM_CLK_SPEED_32 0 #define PRCM_CLK_SPEED_SYS 1 diff --git a/sys/arch/armv7/sunxi/sxitimer.c b/sys/arch/armv7/sunxi/sxitimer.c index 6c4ec50c290..87a25fbbd7c 100644 --- a/sys/arch/armv7/sunxi/sxitimer.c +++ b/sys/arch/armv7/sunxi/sxitimer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sxitimer.c,v 1.24 2023/09/17 14:50:51 cheloha Exp $ */ +/* $OpenBSD: sxitimer.c,v 1.25 2024/05/13 01:15:50 jsg Exp $ */ /* * Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org> * Copyright (c) 2013 Raphael Graf <r@undefined.ch> @@ -75,7 +75,6 @@ int sxitimer_match(struct device *, void *, void *); void sxitimer_attach(struct device *, struct device *, void *); int sxitimer_tickintr(void *); -int sxitimer_statintr(void *); void sxitimer_cpu_initclocks(void); void sxitimer_cpu_startclock(void); void sxitimer_setstatclockrate(int); |