sparc: Kill sbus_bus_type.
authorDavid S. Miller <davem@davemloft.net>
Thu, 28 Aug 2008 02:45:20 +0000 (19:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Aug 2008 09:15:22 +0000 (02:15 -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 2348ab90a57cfb769e6484e6463c90bc345821d4..71ada5238b9714461d934f8509f0a6761ca63729 100644 (file)
@@ -14,7 +14,6 @@
  */
 
 extern struct bus_type ebus_bus_type;
-extern struct bus_type sbus_bus_type;
 
 #define of_bus_type    of_platform_bus_type    /* for compatibility */
 
index 8fdc1b3113b9ec23093a10ffc115bc9fd66b09b3..576fa2ffa69fc2a33b39490bd717decd782b879f 100644 (file)
@@ -67,11 +67,6 @@ struct bus_type ebus_bus_type;
 EXPORT_SYMBOL(ebus_bus_type);
 #endif
 
-#ifdef CONFIG_SBUS
-struct bus_type sbus_bus_type;
-EXPORT_SYMBOL(sbus_bus_type);
-#endif
-
 struct bus_type of_platform_bus_type;
 EXPORT_SYMBOL(of_platform_bus_type);
 
@@ -593,10 +588,6 @@ static int __init of_bus_driver_init(void)
        if (!err)
                err = of_bus_type_init(&ebus_bus_type, "ebus");
 #endif
-#ifdef CONFIG_SBUS
-       if (!err)
-               err = of_bus_type_init(&sbus_bus_type, "sbus");
-#endif
 
        if (!err)
                scan_of_devices();
index b22475f85a5e751669eb0faec532ce8174d26aa5..6ae92536517a9d2a820c8ab6002545508ea74c24 100644 (file)
@@ -93,11 +93,6 @@ struct bus_type ebus_bus_type;
 EXPORT_SYMBOL(ebus_bus_type);
 #endif
 
-#ifdef CONFIG_SBUS
-struct bus_type sbus_bus_type;
-EXPORT_SYMBOL(sbus_bus_type);
-#endif
-
 struct bus_type of_platform_bus_type;
 EXPORT_SYMBOL(of_platform_bus_type);
 
@@ -874,10 +869,6 @@ static int __init of_bus_driver_init(void)
        if (!err)
                err = of_bus_type_init(&ebus_bus_type, "ebus");
 #endif
-#ifdef CONFIG_SBUS
-       if (!err)
-               err = of_bus_type_init(&sbus_bus_type, "sbus");
-#endif
 
        if (!err)
                scan_of_devices();