aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/fsl-mc
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2018-02-28 10:55:50 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-01 17:30:53 +0100
commit7c979b473121251aaf59e2521a508ea50551fa66 (patch)
tree2878d933505eeeecffc7f2e531882b4976d73eb1 /drivers/staging/fsl-mc
parentstaging: fsl-dpaa2/eth: Fix incorrect casts (diff)
downloadlinux-dev-7c979b473121251aaf59e2521a508ea50551fa66.tar.xz
linux-dev-7c979b473121251aaf59e2521a508ea50551fa66.zip
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/staging/fsl-mc')
-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;
}