]> err.no Git - linux-2.6/commitdiff
[IA64] SGI SN drivers: don't report !sn2 hardware as an error
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Fri, 3 Mar 2006 22:34:34 +0000 (15:34 -0700)
committerTony Luck <tony.luck@intel.com>
Tue, 7 Mar 2006 23:27:59 +0000 (15:27 -0800)
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>
drivers/char/mmtimer.c
drivers/serial/sn_console.c

index c92378121b4ca054fdce184963b14290a7c6bb55..1b05fa688996dc8e94e5e26c0436d5e5ea92ca52 100644 (file)
@@ -675,7 +675,7 @@ static int __init mmtimer_init(void)
        cnodeid_t node, maxn = -1;
 
        if (!ia64_platform_is("sn2"))
-               return -1;
+               return 0;
 
        /*
         * Sanity check the cycles/sec variable
index 43e67d6c29d448a14923ec8c4df45973ac252030..60ea4a3f071396637de3fc4459a10aebc7c9d268 100644 (file)
@@ -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");