diff options
author | Cristian Sovaiala <cristian.sovaiala@freescale.com> | 2014-05-28 12:25:03 (GMT) |
---|---|---|
committer | Madalin-Cristian Bucur <madalin.bucur@freescale.com> | 2014-05-28 13:59:24 (GMT) |
commit | 88210d33c755c534ec50756b4b51fbd4b9672124 (patch) | |
tree | 300dab63bdaed925a1018db188ce2a9769e29a3e /drivers/net/ethernet/freescale | |
parent | c8c98c6e624cddfebb32063a8bc431c000fdb63f (diff) | |
download | linux-fsl-qoriq-88210d33c755c534ec50756b4b51fbd4b9672124.tar.xz |
FMD: DSAR: Conditionally compile started_ar_enter variable
started_ar_enter variable is defined inside CONFIG_PM so
guard the variable all over it is referenced.
Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Change-Id: I3a9ea33b20c947909689f63fddd8152f5f38c9f9
Reviewed-on: http://git.am.freescale.net:8181/13010
Reviewed-by: Eyal Harari <Eyal.Harari@freescale.com>
Reviewed-by: Cristian Bercaru <cristian.bercaru@freescale.com>
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale')
-rwxr-xr-x | drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 646a90c..a4a68c0 100755 --- a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm.c +++ b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm.c @@ -1371,7 +1371,9 @@ int fm_port_enter_autores_for_deepsleep(struct fm_port *port, return -EFAULT; FM_PORT_EnterDsar(p_LnxWrpFmPortDev->h_Dev, (t_FmPortDsarParams*)params); +#ifdef CONFIG_PM started_ar_enter = true; +#endif return 0; } EXPORT_SYMBOL(fm_port_enter_autores_for_deepsleep); |