RE: [PATCH] crypto: aspeed - Fix modular aspeed-acry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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@xxxxxxxxxxxxxxxxxxx>

Reviewed-by: Neal Liu <neal_liu@xxxxxxxxxxxxxx>
 
> 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)
> --
> Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page:
> http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux