]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: addi_watchdog.h: don't include "../comedidev.h"
authorIan Abbott <abbotti@mev.co.uk>
Fri, 22 May 2015 16:32:03 +0000 (17:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 01:05:27 +0000 (10:05 +0900)
commit1cdfaecc273d8d99872637ee49242a654295ed0d
tree24e167afe3418d45e54aa806df8d14ea1f281cf9
parent7cbaa480cb267bbce14b3c1917f8a859a3492d8a
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>
drivers/staging/comedi/drivers/addi_watchdog.h