RE: [PATCH] staging: comedi: comedi_isadma.h: make self-reliant

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

 



O n Friday, May 22, 2015 10:45 AM, Ian Abbott wrote:
> The Comedi "comedi_isadma.h" header is included by the source for the
> "comedi_isadma" helper module and other modules that use it.  It does
> not compile cleanly when it is the first header file included.  It uses
> the `dma_addr_t` type, so include <linux/types.h> to declare it.  (Also,
> that indirectly takes care of the use of `NULL`.)  It uses `struct
> comedi_device *` in various function prototypes, so add an incomplete
> declaration of `struct comedi_device`.
>
> 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