summaryrefslogtreecommitdiffstats
path: root/drivers/serial/sn_console.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2006-03-03 23:34:34 +0100
committerTony Luck <tony.luck@intel.com>2006-03-08 00:27:59 +0100
commitf032f90809ebbbd28feb90f97add2e0a869a42ed (patch)
tree71b447f7e83b1d864293ad41077ee9de9744b798 /drivers/serial/sn_console.c
parent[IA64] don't report !sn2 or !summit hardware as an error (diff)
downloadlinux-f032f90809ebbbd28feb90f97add2e0a869a42ed.tar.xz
linux-f032f90809ebbbd28feb90f97add2e0a869a42ed.zip
[IA64] SGI SN drivers: don't report !sn2 hardware as an error
This stuff is all in the generic ia64 kernel, and the new initcall error reporting complains about them. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'drivers/serial/sn_console.c')
-rw-r--r--drivers/serial/sn_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/sn_console.c b/drivers/serial/sn_console.c
index 43e67d6c29d4..60ea4a3f0713 100644
--- a/drivers/serial/sn_console.c
+++ b/drivers/serial/sn_console.c
@@ -820,7 +820,7 @@ static int __init sn_sal_module_init(void)
int retval;
if (!ia64_platform_is("sn2"))
- return -ENODEV;
+ return 0;
printk(KERN_INFO "sn_console: Console driver init\n");