aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r--drivers/ide/ide.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index 8c3f06242280..97b162ca9885 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -1997,10 +1997,16 @@ EXPORT_SYMBOL_GPL(ide_bus_type);
1997 */ 1997 */
1998static int __init ide_init(void) 1998static int __init ide_init(void)
1999{ 1999{
2000 int ret;
2001
2000 printk(KERN_INFO "Uniform Multi-Platform E-IDE driver " REVISION "\n"); 2002 printk(KERN_INFO "Uniform Multi-Platform E-IDE driver " REVISION "\n");
2001 system_bus_speed = ide_system_bus_speed(); 2003 system_bus_speed = ide_system_bus_speed();
2002 2004
2003 bus_register(&ide_bus_type); 2005 ret = bus_register(&ide_bus_type);
2006 if (ret < 0) {
2007 printk(KERN_WARNING "IDE: bus_register error: %d\n", ret);
2008 return ret;
2009 }
2004 2010
2005 init_ide_data(); 2011 init_ide_data();
2006 2012