|
@@ -1881,6 +1881,7 @@ static void ux500_hash_shutdown(struct platform_device *pdev)
|
|
__func__);
|
|
__func__);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#ifdef CONFIG_PM_SLEEP
|
|
/**
|
|
/**
|
|
* ux500_hash_suspend - Function that suspends the hash device.
|
|
* ux500_hash_suspend - Function that suspends the hash device.
|
|
* @dev: Device to suspend.
|
|
* @dev: Device to suspend.
|
|
@@ -1949,6 +1950,7 @@ static int ux500_hash_resume(struct device *dev)
|
|
|
|
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
|
|
|
|
static SIMPLE_DEV_PM_OPS(ux500_hash_pm, ux500_hash_suspend, ux500_hash_resume);
|
|
static SIMPLE_DEV_PM_OPS(ux500_hash_pm, ux500_hash_suspend, ux500_hash_resume);
|
|
|
|
|