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:
Alexandre Bailon 2015-09-14 18:20:43 +02:00 committed by Greg Kroah-Hartman
parent 1ff3dc9205
commit 64c9cabcac
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}