Akinobu Mita 09669585b5 [PATCH] n2: fix confusing error code
modprobe n2 with no parameters or no such devices
will get confusing error message.

# modprobe n2
...  Kernel does not have module support

This patch replaces return code from -ENOSYS to -EINVAL.

Cc: Jeff Garzik <jgarzik@pobox.com>
Cc: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>

 drivers/net/wan/n2.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-10-31 20:22:05 -05:00
..
2006-01-01 22:21:50 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-09-28 18:00:55 -07:00
2006-09-26 17:40:24 -04:00
2006-09-26 17:40:24 -04:00
2006-09-26 17:40:24 -04:00
2006-09-26 17:40:24 -04:00
2006-09-26 17:40:24 -04:00
2006-09-26 17:40:24 -04:00
2006-10-30 15:24:33 -08:00
2005-08-29 15:32:25 -07:00
2006-09-26 17:40:24 -04:00
2006-10-31 20:22:05 -05:00
2006-01-10 08:01:59 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-10 08:01:59 -08:00
2005-04-16 15:20:36 -07:00