diff options
author | Mandy Lavi <mandy.lavi@freescale.com> | 2013-05-29 11:12:37 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-05-29 14:19:00 (GMT) |
commit | 7a3bd771f816cfe5d647b1acef3d6e21a6a1b4bc (patch) | |
tree | c4b3016aa8c8dcb31635bc73eb9a569c99546404 /drivers/net | |
parent | 286e6743957e850f10cade7b2abddbf9572467a8 (diff) | |
download | linux-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')
-rw-r--r-- | drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.c | 8 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.h | 2 |
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(¶m->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, ¶m->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 */ |