X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fstaging%2Fccree%2Fcc_crypto_ctx.h;h=20f3f9fa0b56c274dbf388fcf287780a1c282d3f;hb=6562e7db139f48d41d15fd2c3afb06017d6d8f97;hp=1fc68defc59ca5bea2ac16970508c8fd100430a4;hpb=ed5210cb07de90b8dc31a420466847755331536b;p=karo-tx-linux.git diff --git a/drivers/staging/ccree/cc_crypto_ctx.h b/drivers/staging/ccree/cc_crypto_ctx.h index 1fc68defc59c..20f3f9fa0b56 100644 --- a/drivers/staging/ccree/cc_crypto_ctx.h +++ b/drivers/staging/ccree/cc_crypto_ctx.h @@ -27,7 +27,7 @@ #define CC_CTX_SIZE_LOG2 7 #endif #endif -#define CC_CTX_SIZE (1 << CC_CTX_SIZE_LOG2) +#define CC_CTX_SIZE BIT(CC_CTX_SIZE_LOG2) #define CC_DRV_CTX_SIZE_WORDS (CC_CTX_SIZE >> 2) #define CC_DRV_DES_IV_SIZE 8