diff options
Diffstat (limited to 'drivers/crypto/omap-sham.c')
-rw-r--r-- | drivers/crypto/omap-sham.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index 50aca41712b5..f5c01dc363d4 100644 --- a/drivers/crypto/omap-sham.c +++ b/drivers/crypto/omap-sham.c | |||
@@ -1295,7 +1295,8 @@ static int __init omap_sham_mod_init(void) | |||
1295 | pr_info("loading %s driver\n", "omap-sham"); | 1295 | pr_info("loading %s driver\n", "omap-sham"); |
1296 | 1296 | ||
1297 | if (!cpu_class_is_omap2() || | 1297 | if (!cpu_class_is_omap2() || |
1298 | omap_type() != OMAP2_DEVICE_TYPE_SEC) { | 1298 | (omap_type() != OMAP2_DEVICE_TYPE_SEC && |
1299 | omap_type() != OMAP2_DEVICE_TYPE_EMU)) { | ||
1299 | pr_err("Unsupported cpu\n"); | 1300 | pr_err("Unsupported cpu\n"); |
1300 | return -ENODEV; | 1301 | return -ENODEV; |
1301 | } | 1302 | } |