diff options
Diffstat (limited to 'drivers/crypto/caam/regs.h')
-rw-r--r-- | drivers/crypto/caam/regs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/caam/regs.h b/drivers/crypto/caam/regs.h index d50174f45b21..cbde8b95a6f8 100644 --- a/drivers/crypto/caam/regs.h +++ b/drivers/crypto/caam/regs.h | |||
@@ -74,10 +74,10 @@ | |||
74 | #endif | 74 | #endif |
75 | #else | 75 | #else |
76 | #ifdef __LITTLE_ENDIAN | 76 | #ifdef __LITTLE_ENDIAN |
77 | #define wr_reg32(reg, data) __raw_writel(reg, data) | 77 | #define wr_reg32(reg, data) __raw_writel(data, reg) |
78 | #define rd_reg32(reg) __raw_readl(reg) | 78 | #define rd_reg32(reg) __raw_readl(reg) |
79 | #ifdef CONFIG_64BIT | 79 | #ifdef CONFIG_64BIT |
80 | #define wr_reg64(reg, data) __raw_writeq(reg, data) | 80 | #define wr_reg64(reg, data) __raw_writeq(data, reg) |
81 | #define rd_reg64(reg) __raw_readq(reg) | 81 | #define rd_reg64(reg) __raw_readq(reg) |
82 | #endif | 82 | #endif |
83 | #endif | 83 | #endif |