Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/macppc/dev shut up unused function warning
details: https://anonhg.NetBSD.org/src/rev/e3292b495a46
branches: trunk
changeset: 346308:e3292b495a46
user: macallan <macallan%NetBSD.org@localhost>
date: Wed Jul 06 13:28:34 2016 +0000
description:
shut up unused function warning
diffstat:
sys/arch/macppc/dev/platinumfb.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r c4ebf9740efd -r e3292b495a46 sys/arch/macppc/dev/platinumfb.c
--- a/sys/arch/macppc/dev/platinumfb.c Wed Jul 06 11:37:58 2016 +0000
+++ b/sys/arch/macppc/dev/platinumfb.c Wed Jul 06 13:28:34 2016 +0000
@@ -47,7 +47,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: platinumfb.c,v 1.1 2016/06/10 21:32:46 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: platinumfb.c,v 1.2 2016/07/06 13:28:34 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -234,7 +234,10 @@
static inline void platinumfb_write_reg(struct platinumfb_softc *,
int, uint32_t);
+
+#ifdef notyet
static inline uint32_t platinumfb_read_reg(struct platinumfb_softc *, int);
+#endif
static inline void platinumfb_write_cmap_reg(struct platinumfb_softc *,
int, uint8_t);
static inline uint8_t platinumfb_read_cmap_reg(struct platinumfb_softc *, int);
@@ -277,11 +280,13 @@
out32(sc->sc_reg + PLATINUM_REG_OFFSET_ADDR(reg), val);
}
+#ifdef notyet
static inline uint32_t
platinumfb_read_reg(struct platinumfb_softc *sc, int reg)
{
return in32(sc->sc_reg + PLATINUM_REG_OFFSET_ADDR(reg));
}
+#endif
static inline void
platinumfb_write_cmap_reg(struct platinumfb_softc *sc,
Home |
Main Index |
Thread Index |
Old Index