diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-10 10:40:57 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-14 06:39:33 +0100 |
commit | eb33108858b64ebc0f79a582123731c2585ae63b (patch) | |
tree | 4a28d572c2134df682e224764eca797712686cb8 /drivers/crypto | |
parent | crypto: hisilicon/qm - fix coding style issues (diff) | |
download | linux-eb33108858b64ebc0f79a582123731c2585ae63b.tar.xz 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')
-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) |