Commit 6c5e6215 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Tony Luck

[IA64] don't report !sn2 or !summit 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 57ebc991
...@@ -36,7 +36,7 @@ int __init init_cyclone_clock(void) ...@@ -36,7 +36,7 @@ int __init init_cyclone_clock(void)
u32* volatile cyclone_timer; /* Cyclone MPMC0 register */ u32* volatile cyclone_timer; /* Cyclone MPMC0 register */
if (!use_cyclone) if (!use_cyclone)
return -ENODEV; return 0;
printk(KERN_INFO "Summit chipset: Starting Cyclone Counter.\n"); printk(KERN_INFO "Summit chipset: Starting Cyclone Counter.\n");
......
...@@ -446,7 +446,7 @@ static struct proc_dir_entry *proc_sn2_ptc; ...@@ -446,7 +446,7 @@ static struct proc_dir_entry *proc_sn2_ptc;
static int __init sn2_ptc_init(void) static int __init sn2_ptc_init(void)
{ {
if (!ia64_platform_is("sn2")) if (!ia64_platform_is("sn2"))
return -ENOSYS; return 0;
if (!(proc_sn2_ptc = create_proc_entry(PTC_BASENAME, 0444, NULL))) { if (!(proc_sn2_ptc = create_proc_entry(PTC_BASENAME, 0444, NULL))) {
printk(KERN_ERR "unable to create %s proc entry", PTC_BASENAME); printk(KERN_ERR "unable to create %s proc entry", PTC_BASENAME);
......
...@@ -484,7 +484,7 @@ static int __init tiocx_init(void) ...@@ -484,7 +484,7 @@ static int __init tiocx_init(void)
int found_tiocx_device = 0; int found_tiocx_device = 0;
if (!ia64_platform_is("sn2")) if (!ia64_platform_is("sn2"))
return -ENODEV; return 0;
bus_register(&tiocx_bus_type); bus_register(&tiocx_bus_type);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment