diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-10 17:40:57 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-14 13:39:33 +0800 |
commit | eb33108858b64ebc0f79a582123731c2585ae63b (patch) | |
tree | 4a28d572c2134df682e224764eca797712686cb8 /drivers/crypto/aspeed | |
parent | ced18fd1794787d57acff1a4d1b2816d5ec99fbc (diff) | |
download | linux-eb33108858b64ebc0f79a582123731c2585ae63b.tar.gz linux-eb33108858b64ebc0f79a582123731c2585ae63b.tar.bz2 linux-eb33108858b64ebc0f79a582123731c2585ae63b.zip |
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 <herbert@gondor.apana.org.au>
Reviewed-by: Neal Liu <neal_liu@aspeedtech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/aspeed')
-rw-r--r-- | drivers/crypto/aspeed/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/crypto/aspeed/Makefile b/drivers/crypto/aspeed/Makefile index 24284d812b79..15862752c053 100644 --- a/drivers/crypto/aspeed/Makefile +++ b/drivers/crypto/aspeed/Makefile @@ -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) |