From: H Hartley Sweeten Date: Wed, 9 Jan 2013 20:32:18 +0000 (-0700) Subject: staging: comedi: comedi_buf: don't expose comedi_buf_write_n_allocated() X-Git-Tag: v3.9-rc1~127^2~430 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bd650f91be07fb84adc2e47fb1379b7223b95a4;p=pandora-kernel.git staging: comedi: comedi_buf: don't expose comedi_buf_write_n_allocated() This helper function is only called by the comedi core in comedi_buf.c and comedi_fops.c. For aesthetic reasons, move it to comedi_buf.c and remove the inline. Move the prototype from comedidev.h to comedi_internal.h so it's not exposed outside the comedi core. Signed-off-by: H Hartley Sweeten Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed