mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 11:03:43 +02:00
staging: comedi: addi_watchdog.h: don't include "../comedidev.h"
The Comedi "addi_watchdog.h" header doesn't use anything form "comedidev.h" apart from `struct comedi_subdevice`, which it only uses to construct a corresponding pointer type within the parameter list of a function prototype. Just declare the structure type incompletely and don't bother including the header file. 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>
This commit is contained in:
parent
7da42b5fda
commit
e57180c85a
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef _ADDI_WATCHDOG_H
|
||||
#define _ADDI_WATCHDOG_H
|
||||
|
||||
#include "../comedidev.h"
|
||||
struct comedi_subdevice;
|
||||
|
||||
void addi_watchdog_reset(unsigned long iobase);
|
||||
int addi_watchdog_init(struct comedi_subdevice *, unsigned long iobase);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user