summaryrefslogtreecommitdiff
path: root/drivers/staging/most/net
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/net
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/net')
-rw-r--r--drivers/staging/most/net/net.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/most/net/net.c b/drivers/staging/most/net/net.c
index e20584b1b112..c8a64e209027 100644
--- a/drivers/staging/most/net/net.c
+++ b/drivers/staging/most/net/net.c
@@ -293,7 +293,8 @@ static struct net_dev_context *get_net_dev_hold(struct most_interface *iface)
}
static int comp_probe_channel(struct most_interface *iface, int channel_idx,
- struct most_channel_config *ccfg, char *name)
+ struct most_channel_config *ccfg, char *name,
+ char *args)
{
struct net_dev_context *nd;
struct net_dev_channel *ch;