summaryrefslogtreecommitdiff
path: root/drivers/staging/most/cdev/cdev.c
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2019-04-03 15:19:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-16 13:24:58 +0200
commitdfee92dd50464cbce3d3df2b1ca3eb6c39fb9467 (patch)
treed2f24eeb2d132cc81a9a05fe81bcf83254f1db45 /drivers/staging/most/cdev/cdev.c
parent2bfde348879a3edc402544b2b432420b929cf959 (diff)
staging: most: change signature of function probe_channel
This patch adds the param argument to the function parameter of the call-back probe_channel. This parameter is needed to configure the channels of an attached device. Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/cdev/cdev.c')
-rw-r--r--drivers/staging/most/cdev/cdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/most/cdev/cdev.c b/drivers/staging/most/cdev/cdev.c
index f2b347cda8b7..97408ecc182b 100644
--- a/drivers/staging/most/cdev/cdev.c
+++ b/drivers/staging/most/cdev/cdev.c
@@ -425,7 +425,7 @@ static int comp_tx_completion(struct most_interface *iface, int channel_id)
* Returns 0 on success or error code otherwise.
*/
static int comp_probe(struct most_interface *iface, int channel_id,
- struct most_channel_config *cfg, char *name)
+ struct most_channel_config *cfg, char *name, char *args)
{
struct comp_channel *c;
unsigned long cl_flags;