summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-21 11:28:57 +0900
committerTom Rini <trini@konsulko.com>2016-09-23 22:25:27 -0400
commit5d97dff0424e3ae5c4325a04e662a6b60b8deb67 (patch)
tree408af3d807ac8b841d8fb89efd01b2ec15390761 /drivers/crypto
parent4491327d59179a212e36f1889bd143c99159138b (diff)
treewide: replace #include <asm-generic/errno.h> with <linux/errno.h>
Now, include/linux/errno.h is a wrapper of <asm-generic/errno.h>. Replace all include directives for <asm-generic/errno.h> with <linux/errno.h>. <asm-generic/...> is supposed to be included from <asm/...> when arch-headers fall back into generic implementation. Generally, they should not be directly included from .c files. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> [trini: Add drivers/usb/host/xhci-rockchip.c] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/fsl/fsl_blob.c2
-rw-r--r--drivers/crypto/fsl/fsl_hash.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/fsl/fsl_blob.c b/drivers/crypto/fsl/fsl_blob.c
index d24b8fc045..38c6f9486b 100644
--- a/drivers/crypto/fsl/fsl_blob.c
+++ b/drivers/crypto/fsl/fsl_blob.c
@@ -8,7 +8,7 @@
#include <common.h>
#include <malloc.h>
#include <fsl_sec.h>
-#include <asm-generic/errno.h>
+#include <linux/errno.h>
#include "jobdesc.h"
#include "desc.h"
#include "jr.h"
diff --git a/drivers/crypto/fsl/fsl_hash.c b/drivers/crypto/fsl/fsl_hash.c
index 887e88c9ca..a63eba389d 100644
--- a/drivers/crypto/fsl/fsl_hash.c
+++ b/drivers/crypto/fsl/fsl_hash.c
@@ -12,7 +12,7 @@
#include "jr.h"
#include "fsl_hash.h"
#include <hw_sha.h>
-#include <asm-generic/errno.h>
+#include <linux/errno.h>
#define CRYPTO_MAX_ALG_NAME 80
#define SHA1_DIGEST_SIZE 20