staging: comedi: mite: local symbols should not be exported
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 17 Sep 2012 20:16:05 +0000 (13:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Sep 2012 22:03:51 +0000 (15:03 -0700)
The function mite_fifo_size() is only referenced in this file. Make
it static.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/mite.c

index d4f486ac3e22bb19c85b58c0b7f56ee5e231115e..e27850f628ced3a0cca48224f62798421b28de58 100644 (file)
@@ -92,7 +92,7 @@ static void dump_chip_signature(u32 csigr_bits)
                mite_csigr_wins(csigr_bits), mite_csigr_iowins(csigr_bits));
 }
 
-unsigned mite_fifo_size(struct mite_struct *mite, unsigned channel)
+static unsigned mite_fifo_size(struct mite_struct *mite, unsigned channel)
 {
        unsigned fcr_bits = readl(mite->mite_io_addr + MITE_FCR(channel));
        unsigned empty_count = (fcr_bits >> 16) & 0xff;