OSDN Git Service

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)
commitd2c9deac56da9a5a56c32c4cb6ec3d6bad25ad84
treeb3709455763d514c2eabac67ae6d95c46d645f27
parent7e0b1b60cb0d7d3ae4c22a891e11ceccca17afee
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