diff options
author | Madalin Bucur <madalin.bucur@freescale.com> | 2014-09-16 13:28:56 (GMT) |
---|---|---|
committer | Madalin Bucur <madalin.bucur@freescale.com> | 2014-10-08 13:19:59 (GMT) |
commit | 0d761a20e9450df351c75ccad5c1273349dda225 (patch) | |
tree | 69aca0207cd2749dec5caa9a33d34693a4e3ffea /drivers | |
parent | f2c3365d1e833e0aefa7937312745e4eda353b28 (diff) | |
download | linux-fsl-qoriq-0d761a20e9450df351c75ccad5c1273349dda225.tar.xz |
fmd: use proper return value
Channel value is uint16_t, return adequate type.
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
Change-Id: I4295b7f706e9db36ac9d6d02b8896fa11067f612
Reviewed-on: http://git.am.freescale.net:8181/18840
Reviewed-by: Marian Cristian Rotariu <marian.rotariu@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/freescale/fman/src/inc/wrapper/lnxwrp_fsl_fman.h | 2 | ||||
-rwxr-xr-x | drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/fman/src/inc/wrapper/lnxwrp_fsl_fman.h b/drivers/net/ethernet/freescale/fman/src/inc/wrapper/lnxwrp_fsl_fman.h index aa3ec30..987fe40 100644 --- a/drivers/net/ethernet/freescale/fman/src/inc/wrapper/lnxwrp_fsl_fman.h +++ b/drivers/net/ethernet/freescale/fman/src/inc/wrapper/lnxwrp_fsl_fman.h @@ -231,7 +231,7 @@ void fm_port_get_buff_layout_ext_params(struct fm_port *port, struct fm_port_par @Cautions Allowed only after the port is binded. *//***************************************************************************/ -int fm_get_tx_port_channel(struct fm_port *port); +uint16_t fm_get_tx_port_channel(struct fm_port *port); /**************************************************************************//** @Function fm_set_tx_port_params diff --git a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm.c b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm.c index b9a2097..427de85 100755 --- a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm.c +++ b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm.c @@ -1331,7 +1331,7 @@ void fm_port_get_buff_layout_ext_params(struct fm_port *port, struct fm_port_par } EXPORT_SYMBOL(fm_port_get_buff_layout_ext_params); -int fm_get_tx_port_channel(struct fm_port *port) +uint16_t fm_get_tx_port_channel(struct fm_port *port) { t_LnxWrpFmPortDev *p_LnxWrpFmPortDev = (t_LnxWrpFmPortDev*)port; |