diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-01-30 22:25:31 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-31 09:40:41 (GMT) |
commit | 085494ac2039433a5df9fdd6fb653579e18b8c71 (patch) | |
tree | c5cce76677c21039454ed0d8fd48cbb9cf7fd692 /drivers/staging/comedi/comedi_internal.h | |
parent | 39bd5e59b1ebdaa58d9458923ab96f61bda1296c (diff) | |
download | linux-085494ac2039433a5df9fdd6fb653579e18b8c71.tar.xz |
staging: comedi: don't expose comedi_proc_{init,cleanup}
These functions are only used by the comedi core. Move the
prototypes to comedi_internal.h so they are not exposed to
the comedi drivers.
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>
Diffstat (limited to 'drivers/staging/comedi/comedi_internal.h')
-rw-r--r-- | drivers/staging/comedi/comedi_internal.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/staging/comedi/comedi_internal.h b/drivers/staging/comedi/comedi_internal.h index 81b6f78..b36bb95 100644 --- a/drivers/staging/comedi/comedi_internal.h +++ b/drivers/staging/comedi/comedi_internal.h @@ -31,4 +31,19 @@ int insn_inval(struct comedi_device *, struct comedi_subdevice *, void comedi_device_detach(struct comedi_device *); int comedi_device_attach(struct comedi_device *, struct comedi_devconfig *); +#ifdef CONFIG_PROC_FS + +/* proc.c */ + +void comedi_proc_init(void); +void comedi_proc_cleanup(void); +#else +static inline void comedi_proc_init(void) +{ +} +static inline void comedi_proc_cleanup(void) +{ +} +#endif + #endif /* _COMEDI_INTERNAL_H */ |