Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f032f908 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Tony Luck
Browse files

[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: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 6c5e6215
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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");