[PATCH 0/2] comedi_set_hw_dev() changes

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

 



We don't want a comedi device driver to change the `struct
comedi_device`'s `hw_dev` member once it has been set (usually
automatically by `comedi_auto_attach()`), so change
`comedi_set_hw_dev()` to prevent this.  Also change it to an external
function instead of an inline function.

1) staging: comedi: export comedi_set_hw_dev()
2) staging: comedi: restrict comedi_set_hw_dev() usage

 drivers/staging/comedi/comedidev.h |  9 +--------
 drivers/staging/comedi/drivers.c   | 19 ++++++++++++++++++-
 2 files changed, 19 insertions(+), 9 deletions(-)
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/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