RE: [PATCH] staging: comedi: addi_watchdog.h: don't include "../comedidev.h"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, May 22, 2015 9:32 AM, Ian Abbott wrote:
> 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@xxxxxxxxx>

Reviewed-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux