[12/20] bus/fslmc: make portal func static
Checks
Commit Message
It was not required to be a function.
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 2 +-
drivers/bus/fslmc/portal/dpaa2_hw_dpio.h | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
@@ -229,7 +229,7 @@ dpaa2_configure_stashing(struct dpaa2_dpio_dev *dpio_dev, int lcoreid)
return 0;
}
-struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(int lcoreid)
+static struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(int lcoreid)
{
struct dpaa2_dpio_dev *dpio_dev = NULL;
int ret;
@@ -37,8 +37,6 @@ extern uint8_t dpaa2_eqcr_size;
extern struct dpaa2_io_portal_t dpaa2_io_portal[RTE_MAX_LCORE];
-struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(int cpu_id);
-
/* Affine a DPIO portal to current processing thread */
int dpaa2_affine_qbman_swp(void);