aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/crypto/hifn_795x.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/crypto/hifn_795x.c b/drivers/crypto/hifn_795x.c
index 4d22b21bd3e3..2969ea99f7c7 100644
--- a/drivers/crypto/hifn_795x.c
+++ b/drivers/crypto/hifn_795x.c
@@ -2782,6 +2782,11 @@ static int __devinit hifn_init(void)
2782 unsigned int freq; 2782 unsigned int freq;
2783 int err; 2783 int err;
2784 2784
2785 if (sizeof(dma_addr_t) > 4) {
2786 printk(KERN_INFO "HIFN supports only 32-bit addresses.\n");
2787 return -EINVAL;
2788 }
2789
2785 if (strncmp(hifn_pll_ref, "ext", 3) && 2790 if (strncmp(hifn_pll_ref, "ext", 3) &&
2786 strncmp(hifn_pll_ref, "pci", 3)) { 2791 strncmp(hifn_pll_ref, "pci", 3)) {
2787 printk(KERN_ERR "hifn795x: invalid hifn_pll_ref clock, " 2792 printk(KERN_ERR "hifn795x: invalid hifn_pll_ref clock, "