]> git.baikalelectronics.ru Git - kernel.git/commitdiff
sparc: Kill ebus_bus_type.
authorDavid S. Miller <davem@davemloft.net>
Sat, 30 Aug 2008 07:37:36 +0000 (00:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Aug 2008 07:37:36 +0000 (00:37 -0700)
No longer used.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/of_platform.h
arch/sparc/kernel/of_device.c
arch/sparc64/kernel/of_device.c

index 71ada5238b9714461d934f8509f0a6761ca63729..90da99059f832b733f15d23612775502c34e4c66 100644 (file)
@@ -13,8 +13,6 @@
  *
  */
 
-extern struct bus_type ebus_bus_type;
-
 #define of_bus_type    of_platform_bus_type    /* for compatibility */
 
 #endif
index 576fa2ffa69fc2a33b39490bd717decd782b879f..c59014886afe4b9c6a63f8c6977ccc88fb742d2f 100644 (file)
@@ -62,11 +62,6 @@ void of_propagate_archdata(struct of_device *bus)
        }
 }
 
-#ifdef CONFIG_PCI
-struct bus_type ebus_bus_type;
-EXPORT_SYMBOL(ebus_bus_type);
-#endif
-
 struct bus_type of_platform_bus_type;
 EXPORT_SYMBOL(of_platform_bus_type);
 
@@ -584,11 +579,6 @@ static int __init of_bus_driver_init(void)
        int err;
 
        err = of_bus_type_init(&of_platform_bus_type, "of");
-#ifdef CONFIG_PCI
-       if (!err)
-               err = of_bus_type_init(&ebus_bus_type, "ebus");
-#endif
-
        if (!err)
                scan_of_devices();
 
index 6ae92536517a9d2a820c8ab6002545508ea74c24..e427086e3b58049dbdfbe45b1e41007c24d96d44 100644 (file)
@@ -88,11 +88,6 @@ void of_propagate_archdata(struct of_device *bus)
        }
 }
 
-#ifdef CONFIG_PCI
-struct bus_type ebus_bus_type;
-EXPORT_SYMBOL(ebus_bus_type);
-#endif
-
 struct bus_type of_platform_bus_type;
 EXPORT_SYMBOL(of_platform_bus_type);
 
@@ -865,11 +860,6 @@ static int __init of_bus_driver_init(void)
        int err;
 
        err = of_bus_type_init(&of_platform_bus_type, "of");
-#ifdef CONFIG_PCI
-       if (!err)
-               err = of_bus_type_init(&ebus_bus_type, "ebus");
-#endif
-
        if (!err)
                scan_of_devices();