mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
greybus: es2: change (un)map methods to static
Endpoints pair will only be managed by es2 driver. map_cport_to_ep() and unmap_cport() should be static. Signed-off-by: Alexandre Bailon <abailon@baylibre.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
1ff3dc9205
commit
64c9cabcac
1 changed files with 2 additions and 2 deletions
|
|
@ -143,7 +143,7 @@ static int ep_pair_in_use(struct es1_ap_dev *es1, int ep_pair)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int map_cport_to_ep(struct es1_ap_dev *es1,
|
||||
static int map_cport_to_ep(struct es1_ap_dev *es1,
|
||||
u16 cport_id, int ep_pair)
|
||||
{
|
||||
int retval;
|
||||
|
|
@ -180,7 +180,7 @@ int map_cport_to_ep(struct es1_ap_dev *es1,
|
|||
return retval;
|
||||
}
|
||||
|
||||
int unmap_cport(struct es1_ap_dev *es1, u16 cport_id)
|
||||
static int unmap_cport(struct es1_ap_dev *es1, u16 cport_id)
|
||||
{
|
||||
return map_cport_to_ep(es1, cport_id, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue