crypto: crypto4xx - rename ce_ring_contol to ce_ring_control
authorColin Ian King <colin.king@canonical.com>
Fri, 21 Apr 2017 11:13:49 +0000 (12:13 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 24 Apr 2017 10:11:06 +0000 (18:11 +0800)
trivial spelling mistake, missing r, rename to ce_ring_control

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/amcc/crypto4xx_core.c
drivers/crypto/amcc/crypto4xx_reg_def.h

index d10b4ae5e0da8526e3f722add49989148ff10199..fdc83a2281ca76cdd0b4ea597eb8bfc6e2998c10 100644 (file)
@@ -50,7 +50,7 @@
 static void crypto4xx_hw_init(struct crypto4xx_device *dev)
 {
        union ce_ring_size ring_size;
-       union ce_ring_contol ring_ctrl;
+       union ce_ring_control ring_ctrl;
        union ce_part_ring_size part_ring_size;
        union ce_io_threshold io_threshold;
        u32 rand_num;
index 46fe57c8f6eb9a89a81131a8fa3273b89ac034ab..279b8725559f109052cc94149dd55cf489629d7b 100644 (file)
@@ -180,7 +180,7 @@ union ce_ring_size {
 } __attribute__((packed));
 
 #define CRYPTO4XX_RING_CONTROL_OFFSET          0x54
-union ce_ring_contol {
+union ce_ring_control {
        struct {
                u32 continuous:1;
                u32 rsv:5;