summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/fman
diff options
context:
space:
mode:
authorMandy Lavi <mandy.lavi@freescale.com>2013-05-29 11:12:37 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-05-29 14:19:00 (GMT)
commit7a3bd771f816cfe5d647b1acef3d6e21a6a1b4bc (patch)
treec4b3016aa8c8dcb31635bc73eb9a569c99546404 /drivers/net/ethernet/freescale/fman
parent286e6743957e850f10cade7b2abddbf9572467a8 (diff)
downloadlinux-fsl-qoriq-7a3bd771f816cfe5d647b1acef3d6e21a6a1b4bc.tar.xz
fmd: changed field name from portParams to port_params
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com> Change-Id: I5efcdbe646486c9b1b0863a714fc49bc7d7ccb3f Reviewed-on: http://git.am.freescale.net:8181/2754 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Chereji Marian-Cornel-R27762 <marian.chereji@freescale.com> Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/fman')
-rw-r--r--drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.c8
-rw-r--r--drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.c b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.c
index a8e9f0b..7e29867 100644
--- a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.c
+++ b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.c
@@ -1129,8 +1129,8 @@ void compat_copy_fm_vsp_params(
param->p_fm = compat_pcd_id2ptr(compat_param->p_fm);
memcpy(&param->ext_buf_pools, &compat_param->ext_buf_pools, sizeof(ioc_fm_ext_pools));
param->liodn_offset = compat_param->liodn_offset;
- param->portParams.port_id = compat_param->portParams.port_id;
- param->portParams.port_type = compat_param->portParams.port_type;
+ param->port_params.port_id = compat_param->port_params.port_id;
+ param->port_params.port_type = compat_param->port_params.port_type;
param->relative_profile_id = compat_param->relative_profile_id;
param->id = compat_pcd_id2ptr(compat_param->id);
}
@@ -1139,8 +1139,8 @@ void compat_copy_fm_vsp_params(
compat_param->p_fm = compat_pcd_ptr2id(param->p_fm);
memcpy(&compat_param->ext_buf_pools, &param->ext_buf_pools, sizeof(ioc_fm_ext_pools));
compat_param->liodn_offset = param->liodn_offset;
- compat_param->portParams.port_id = param->portParams.port_id;
- compat_param->portParams.port_type = param->portParams.port_type;
+ compat_param->port_params.port_id = param->port_params.port_id;
+ compat_param->port_params.port_type = param->port_params.port_type;
compat_param->relative_profile_id = param->relative_profile_id;
compat_param->id = compat_add_ptr2id(param->id, FM_MAP_TYPE_PCD_NODE);
}
diff --git a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.h b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.h
index 3078003..288777a 100644
--- a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.h
+++ b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.h
@@ -489,7 +489,7 @@ typedef struct ioc_compat_fm_vsp_params_t {
struct {
ioc_fm_port_type port_type; /**< Port type */
uint8_t port_id; /**< Port Id - relative to type */
- } portParams;
+ } port_params;
uint8_t relative_profile_id; /**< VSP Id - relative to VSP's range
defined in relevant FM object */
compat_uptr_t id; /**< return value */