Skip to content

Commit

Permalink
crypto: aspeed - Fix modular aspeed-acry
Browse files Browse the repository at this point in the history
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 <herbert@gondor.apana.org.au>
Reviewed-by: Neal Liu <neal_liu@aspeedtech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Herbert Xu committed Feb 14, 2023
1 parent ced18fd commit eb33108
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/crypto/aspeed/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ aspeed_crypto-objs := aspeed-hace.o \
$(hace-hash-y) \
$(hace-crypto-y)

obj-$(CONFIG_CRYPTO_DEV_ASPEED_ACRY) += aspeed-acry.o
aspeed_acry-$(CONFIG_CRYPTO_DEV_ASPEED_ACRY) += aspeed-acry.o

obj-$(CONFIG_CRYPTO_DEV_ASPEED) += $(aspeed_acry-y)

0 comments on commit eb33108

Please sign in to comment.