diff options
author | Eyal Harari <Eyal.Harari@freesacle.com> | 2014-05-29 15:34:00 (GMT) |
---|---|---|
committer | Jose Rivera <German.Rivera@freescale.com> | 2014-05-29 22:05:00 (GMT) |
commit | 715fb4c556bfe11c1e26af5bc18cfdf8fb5c178e (patch) | |
tree | bd3a3759f6913d10e76f342859420735274a843c /drivers | |
parent | b6dc51514fd54265df321783200f305ecdb5113d (diff) | |
download | linux-fsl-qoriq-715fb4c556bfe11c1e26af5bc18cfdf8fb5c178e.tar.xz |
FMD: add dependency on CONFIG_FSL_QORIQ_PM for calling fsl_set_power_except()
Signed-off-by: Eyal Harari <Eyal.Harari@freesacle.com>
Change-Id: If804bfb9694ad08330e7a7c083cec9970ad4954d
Reviewed-on: http://git.am.freescale.net:8181/13062
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Mandy Lavi <Mandy.Lavi@freescale.com>
Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'drivers')
-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 a4a68c0..b4d3fc0 100755 --- a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm.c +++ b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm.c @@ -1110,7 +1110,9 @@ static int fm_soc_suspend(struct device *dev) if (started_ar_enter) { uint32_t *fmclk; +#ifdef CONFIG_FSL_QORIQ_PM fsl_set_power_except(dev,1); +#endif FM_PORT_Dsar_enter_final(); fmclk = ioremap(SCFG_FMCLKDPSLPCR_ADDR, 4); WRITE_UINT32(*fmclk, SCFG_FMCLKDPSLPCR_DS_VAL); |