summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ixp4xx/ixp4xx_npe.c
diff options
context:
space:
mode:
authorKrzysztof Hałasa <khc@pm.waw.pl>2009-04-28 14:54:07 +0200
committerKrzysztof Hałasa <khc@pm.waw.pl>2009-05-09 14:55:52 +0200
commit3ba8c7920552865a338e00512715786b54db4da0 (patch)
treee8c468138d540deba3f37ee7312cb0c5eb21b2e7 /arch/arm/mach-ixp4xx/ixp4xx_npe.c
parentbe8be9eccbf2d908a7e56b3f7a71105cd88da06b (diff)
IXP4xx: use "ENODEV" instead of "ENOSYS" in module initialization.
ENOSYS makes modutils complain about missing kernel module support. Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Diffstat (limited to 'arch/arm/mach-ixp4xx/ixp4xx_npe.c')
-rw-r--r--arch/arm/mach-ixp4xx/ixp4xx_npe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ixp4xx/ixp4xx_npe.c b/arch/arm/mach-ixp4xx/ixp4xx_npe.c
index 25231023490..7bb8e778e4b 100644
--- a/arch/arm/mach-ixp4xx/ixp4xx_npe.c
+++ b/arch/arm/mach-ixp4xx/ixp4xx_npe.c
@@ -714,7 +714,7 @@ static int __init npe_init_module(void)
}
if (!found)
- return -ENOSYS;
+ return -ENODEV;
return 0;
}