diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2015-03-27 15:58:19 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 11:12:28 (GMT) |
commit | 78cff59e88eb0f3ae81f50741a8ce2e38f890139 (patch) | |
tree | 662425ae880aa430e06fac116716667bebc76210 /drivers/staging/comedi/comedi_internal.h | |
parent | ef4b4b274cf96a857dd78b49558509b55d75163a (diff) | |
download | linux-78cff59e88eb0f3ae81f50741a8ce2e38f890139.tar.xz |
staging: comedi: make comedi_internal.h self-reliant
Add `#include`s and declare incomplete types to "comedi_internal.h" so
that .c files still compile when it is the first file included.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/comedi_internal.h')
-rw-r--r-- | drivers/staging/comedi/comedi_internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/staging/comedi/comedi_internal.h b/drivers/staging/comedi/comedi_internal.h index d57817c..3b91853 100644 --- a/drivers/staging/comedi/comedi_internal.h +++ b/drivers/staging/comedi/comedi_internal.h @@ -1,11 +1,21 @@ #ifndef _COMEDI_INTERNAL_H #define _COMEDI_INTERNAL_H +#include <linux/compiler.h> #include <linux/types.h> /* * various internal comedi stuff */ + +struct comedi_buf_map; +struct comedi_devconfig; +struct comedi_device; +struct comedi_insn; +struct comedi_rangeinfo; +struct comedi_subdevice; +struct device; + int do_rangeinfo_ioctl(struct comedi_device *dev, struct comedi_rangeinfo __user *arg); struct comedi_device *comedi_alloc_board_minor(struct device *hardware_device); |