From: Hemant Agrawal <hemant.agrawal@nxp.com>
This patch marks dpcon_close API as internal symbol and
also adds it into version map file
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
drivers/bus/fslmc/mc/fsl_dpcon.h | 3 ++-
drivers/bus/fslmc/version.map | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0)
*
* Copyright 2013-2016 Freescale Semiconductor Inc.
- * Copyright 2017-2019 NXP
+ * Copyright 2017-2021 NXP
*
*/
#ifndef __FSL_DPCON_H
@@ -28,6 +28,7 @@ int dpcon_open(struct fsl_mc_io *mc_io,
int dpcon_id,
uint16_t *token);
+__rte_internal
int dpcon_close(struct fsl_mc_io *mc_io,
uint32_t cmd_flags,
uint16_t token);
@@ -36,6 +36,7 @@ INTERNAL {
dpci_set_rx_queue;
dpcon_get_attributes;
dpcon_open;
+ dpcon_close;
dpdmai_close;
dpdmai_disable;
dpdmai_enable;