2007-08-30 08:41:31

by Herbert Xu

[permalink] [raw]
Subject: [PATCH 5/8] [CRYPTO] api: Move scatterwalk into algapi

[CRYPTO] api: Move scatterwalk into algapi

The scatterwalk code is only used by algorithms that can be built as
a module. Therefore we can move it into algapi.

Signed-off-by: Herbert Xu <[email protected]>
---

crypto/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/crypto/Makefile b/crypto/Makefile
index acb1942..5c015cc 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -2,10 +2,10 @@
# Cryptographic API
#

-obj-$(CONFIG_CRYPTO) += api.o scatterwalk.o cipher.o digest.o compress.o
+obj-$(CONFIG_CRYPTO) += api.o cipher.o digest.o compress.o

crypto_algapi-$(CONFIG_PROC_FS) += proc.o
-crypto_algapi-objs := algapi.o $(crypto_algapi-y)
+crypto_algapi-objs := algapi.o scatterwalk.o $(crypto_algapi-y)
obj-$(CONFIG_CRYPTO_ALGAPI) += crypto_algapi.o

obj-$(CONFIG_CRYPTO_ABLKCIPHER) += ablkcipher.o