summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2006-03-03 15:34:34 -0700
committerTony Luck <tony.luck@intel.com>2006-03-07 15:27:59 -0800
commitf032f90809ebbbd28feb90f97add2e0a869a42ed (patch)
tree71b447f7e83b1d864293ad41077ee9de9744b798 /drivers/char
parent6c5e62159cdef89d8385958c9d8c88efa867110c (diff)
downloadkernel-common-f032f90809ebbbd28feb90f97add2e0a869a42ed.tar.gz
kernel-common-f032f90809ebbbd28feb90f97add2e0a869a42ed.tar.bz2
kernel-common-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/char')
-rw-r--r--drivers/char/mmtimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/mmtimer.c b/drivers/char/mmtimer.c
index c92378121b4c..1b05fa688996 100644
--- a/drivers/char/mmtimer.c
+++ b/drivers/char/mmtimer.c
@@ -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