[PATCH 0/2] staging: comedi: hide subdevice_minor functions

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

 



The `comedi_alloc_subdevice_minor()` and `comedi_free_subdevice_minor()`
functions are only for use by the comedi core, but are currently
declared in the header file shared by all comedi drivers instead of the
header file internal to the comedi core.  Also
`comedi_alloc_subdevice_minor()` has more parameters than it needs.
These two patches address those matters.

1) staging: comedi: move comedi_alloc_subdevice_minor declarations
2) staging: comedi: change comedi_alloc_subdevice_minor parameters

 drivers/staging/comedi/comedi_fops.c     | 4 ++--
 drivers/staging/comedi/comedi_internal.h | 2 ++
 drivers/staging/comedi/comedidev.h       | 4 ----
 drivers/staging/comedi/drivers.c         | 2 +-
 4 files changed, 5 insertions(+), 7 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