summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2018-02-28 05:55:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-01 19:30:53 +0300
commit7c979b473121251aaf59e2521a508ea50551fa66 (patch)
tree2878d933505eeeecffc7f2e531882b4976d73eb1 /drivers
parent75c583ab9709692a60871d4719006391cde8dc1d (diff)
downloadlinux-7c979b473121251aaf59e2521a508ea50551fa66.tar.xz
staging: fsl-mc/dpio: qbman_pull_desc_set_token() can be static
Fixes: 1628e2e4dc76 ("staging: fsl-mc/dpio: allow the driver to compile multi-arch") Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/fsl-mc/bus/dpio/qbman-portal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fsl-mc/bus/dpio/qbman-portal.c b/drivers/staging/fsl-mc/bus/dpio/qbman-portal.c
index f57c151cf1e8..7b75c934b201 100644
--- a/drivers/staging/fsl-mc/bus/dpio/qbman-portal.c
+++ b/drivers/staging/fsl-mc/bus/dpio/qbman-portal.c
@@ -522,7 +522,7 @@ void qbman_pull_desc_set_numframes(struct qbman_pull_desc *d, u8 numframes)
d->numf = numframes - 1;
}
-void qbman_pull_desc_set_token(struct qbman_pull_desc *d, u8 token)
+static void qbman_pull_desc_set_token(struct qbman_pull_desc *d, u8 token)
{
d->tok = token;
}