提交 2ad1d2e1 编写于 作者: H H Hartley Sweeten 提交者: Greg Kroah-Hartman

staging: comedi: mite: local symbols should not be exported

The function mite_fifo_size() is only referenced in this file. Make
it static.
Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 3243785c
...@@ -92,7 +92,7 @@ static void dump_chip_signature(u32 csigr_bits) ...@@ -92,7 +92,7 @@ static void dump_chip_signature(u32 csigr_bits)
mite_csigr_wins(csigr_bits), mite_csigr_iowins(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 fcr_bits = readl(mite->mite_io_addr + MITE_FCR(channel));
unsigned empty_count = (fcr_bits >> 16) & 0xff; unsigned empty_count = (fcr_bits >> 16) & 0xff;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册