Skip to content

Commit eb33108

Browse files
committed
crypto: aspeed - Fix modular aspeed-acry
When aspeed-acry is enabled as a module it doesn't get built at all. Fix this by adding it to obj-m. Signed-off-by: Herbert Xu <[email protected]> Reviewed-by: Neal Liu <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent ced18fd commit eb33108

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/crypto/aspeed/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ aspeed_crypto-objs := aspeed-hace.o \
66
$(hace-hash-y) \
77
$(hace-crypto-y)
88

9-
obj-$(CONFIG_CRYPTO_DEV_ASPEED_ACRY) += aspeed-acry.o
9+
aspeed_acry-$(CONFIG_CRYPTO_DEV_ASPEED_ACRY) += aspeed-acry.o
10+
11+
obj-$(CONFIG_CRYPTO_DEV_ASPEED) += $(aspeed_acry-y)

0 commit comments

Comments
 (0)