Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic __unuse the right function



details:   https://anonhg.NetBSD.org/src/rev/6bcce5446a68
branches:  trunk
changeset: 325736:6bcce5446a68
user:      macallan <macallan%NetBSD.org@localhost>
date:      Sat Jan 04 16:37:05 2014 +0000

description:
__unuse the right function
( note to self - don't commit half asleep )

diffstat:

 sys/dev/ic/ct65550.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r cf0d0bb882e6 -r 6bcce5446a68 sys/dev/ic/ct65550.c
--- a/sys/dev/ic/ct65550.c      Sat Jan 04 15:54:27 2014 +0000
+++ b/sys/dev/ic/ct65550.c      Sat Jan 04 16:37:05 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ct65550.c,v 1.9 2014/01/03 15:57:12 macallan Exp $     */
+/*     $NetBSD: ct65550.c,v 1.10 2014/01/04 16:37:05 macallan Exp $    */
 
 /*
  * Copyright (c) 2006 Michael Lorenz
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ct65550.c,v 1.9 2014/01/03 15:57:12 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ct65550.c,v 1.10 2014/01/04 16:37:05 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -151,7 +151,7 @@
        return bus_space_read_1(sc->sc_iot, sc->sc_ioregh, reg);
 }
 
-__unused static inline uint8_t
+static inline uint8_t
 chipsfb_read_indexed(struct chipsfb_softc *sc, uint32_t reg, uint8_t index)
 {
 
@@ -159,7 +159,7 @@
        return chipsfb_read_vga(sc, reg | 0x0001);
 }
 
-static inline void
+__unused static inline void
 chipsfb_write_indexed(struct chipsfb_softc *sc, uint32_t reg, uint8_t index,
     uint8_t val)
 {



Home | Main Index | Thread Index | Old Index