summaryrefslogtreecommitdiff
path: root/sys/dev/fdt
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2018-06-28 10:07:36 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2018-06-28 10:07:36 +0000
commit3caaaea19c5cae4e46862b10818e604cb1202b96 (patch)
treef99d0fee6dec5e66bb72a2f10db88573de0dc221 /sys/dev/fdt
parent3d055042fc55e2a17c7f0bb248715855f60ad6d4 (diff)
Remove unused/redundant prototypes.
Pointed out by patrick@
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r--sys/dev/fdt/imxanatop.c11
-rw-r--r--sys/dev/fdt/imxanatopvar.h7
2 files changed, 2 insertions, 16 deletions
diff --git a/sys/dev/fdt/imxanatop.c b/sys/dev/fdt/imxanatop.c
index 2bbccfc4feb..a90b8014ca3 100644
--- a/sys/dev/fdt/imxanatop.c
+++ b/sys/dev/fdt/imxanatop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxanatop.c,v 1.3 2018/06/17 19:46:48 kettenis Exp $ */
+/* $OpenBSD: imxanatop.c,v 1.4 2018/06/28 10:07:35 kettenis Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis <kettenis@openbsd.org>
*
@@ -137,15 +137,6 @@ void imxanatop_attach_regulator(struct imxanatop_softc *, int);
uint32_t imxanatop_get_voltage(void *);
int imxanatop_set_voltage(void *, uint32_t);
-uint32_t imxanatop_decode_pll(enum imxanatop_clocks, uint32_t);
-uint32_t imxanatop_get_pll2_pfd(unsigned int);
-uint32_t imxanatop_get_pll3_pfd(unsigned int);
-void imxanatop_enable_pll_usb1(void);
-void imxanatop_enable_pll_usb2(void);
-void imxanatop_enable_pll_enet(void);
-void imxanatop_enable_enet(void);
-void imxanatop_enable_sata(void);
-
int
imxanatop_match(struct device *parent, void *match, void *aux)
{
diff --git a/sys/dev/fdt/imxanatopvar.h b/sys/dev/fdt/imxanatopvar.h
index fbee17247c8..1ef4ecc4e80 100644
--- a/sys/dev/fdt/imxanatopvar.h
+++ b/sys/dev/fdt/imxanatopvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxanatopvar.h,v 1.1 2018/05/16 13:42:35 patrick Exp $ */
+/* $OpenBSD: imxanatopvar.h,v 1.2 2018/06/28 10:07:35 kettenis Exp $ */
/*
* Copyright (c) 2018 Patrick Wildt <patrick@blueri.se>
*
@@ -44,8 +44,3 @@ enum imxanatop_clocks {
uint32_t imxanatop_decode_pll(enum imxanatop_clocks, uint32_t);
uint32_t imxanatop_get_pll2_pfd(unsigned int);
uint32_t imxanatop_get_pll3_pfd(unsigned int);
-void imxanatop_enable_pll_usb1(void);
-void imxanatop_enable_pll_usb2(void);
-void imxanatop_enable_pll_enet(void);
-void imxanatop_enable_enet(void);
-void imxanatop_enable_sata(void);