crypto: api - Fix build error when modules are disabled
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Apr 2015 06:48:05 +0000 (14:48 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 26 Apr 2015 06:33:15 +0000 (14:33 +0800)
commitbd4a7c69aaed79ae1a299db8063fe4daf5e4a2f1
treee19ee2e98192b6976a796ec0ef3aeae0bc868fe4
parent8a1a2b717e0d4d5f3e3bb59b7dee5079a15ab24b
crypto: api - Fix build error when modules are disabled

The commit 59afdc7b32143528524455039e7557a46b60e4c8 ("crypto:
api - Move module sig ifdef into accessor function") broke the
build when modules are completely disabled because we directly
dereference module->name.

This patch fixes this by using the accessor function module_name.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algapi.c