]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: 8255.h: don't include "../comedidev.h"
authorIan Abbott <abbotti@mev.co.uk>
Fri, 22 May 2015 15:21:36 +0000 (16:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 01:05:26 +0000 (10:05 +0900)
commit48be34d294dc955d49b521026e4830e2c40240c2
treeb3709455763d514c2eabac67ae6d95c46d645f27
parent09f361854caa119c97e6d967e294257afa6c140c
staging: comedi: 8255.h: don't include "../comedidev.h"

The Comedi "8255.h" header doesn't use anything from "comedidev.h" apart
from `struct comedi_device` and `struct comedi_subdevice`, which are
only used to construct corresponding pointer types within the parameter
lists of function prototypes.  Just declare those structure types
incompletely and don't bother including "comedidev.h".

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/8255.h