mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 13:43:21 -04:00
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: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3243785c39
commit
2ad1d2e1ad
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user