diff options
author | Krzysztof Hałasa <khc@pm.waw.pl> | 2009-04-28 08:54:07 -0400 |
---|---|---|
committer | Krzysztof Hałasa <khc@pm.waw.pl> | 2009-05-09 08:55:52 -0400 |
commit | 3ba8c7920552865a338e00512715786b54db4da0 (patch) | |
tree | e8c468138d540deba3f37ee7312cb0c5eb21b2e7 /arch/arm/mach-ixp4xx/ixp4xx_npe.c | |
parent | be8be9eccbf2d908a7e56b3f7a71105cd88da06b (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.c | 2 |
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 252310234903..7bb8e778e4b6 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) | |||
714 | } | 714 | } |
715 | 715 | ||
716 | if (!found) | 716 | if (!found) |
717 | return -ENOSYS; | 717 | return -ENODEV; |
718 | return 0; | 718 | return 0; |
719 | } | 719 | } |
720 | 720 | ||