staging: most: add poll syscall to AIM cdev
authorChristian Gromm <christian.gromm@microchip.com>
Mon, 28 Sep 2015 15:18:57 +0000 (17:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:18:53 +0000 (03:18 +0200)
commitaac997dfdd58eec1add02dae09030caeddc1abe6
tree16d2ce84c89c921396744775d76ad0a4b24f70d8
parent48ab5a339de2b1cd006b7783d1555e4711bf77e5
staging: most: add poll syscall to AIM cdev

This patch adds the implementation of the poll syscall to the AIM cdev.
To have the full functionality, a helper function is needed in the
core module to retrieve the instantaneous availability of tx buffers.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/aim-cdev/cdev.c
drivers/staging/most/mostcore/core.c
drivers/staging/most/mostcore/mostcore.h