소스 검색

sparc: Kill ebus_bus_type.

No longer used.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 16 년 전
부모
커밋
e0ac612e69
3개의 변경된 파일0개의 추가작업 그리고 22개의 파일을 삭제
  1. 0 2
      arch/sparc/include/asm/of_platform.h
  2. 0 10
      arch/sparc/kernel/of_device.c
  3. 0 10
      arch/sparc64/kernel/of_device.c

+ 0 - 2
arch/sparc/include/asm/of_platform.h

@@ -13,8 +13,6 @@
  *
  */
 
-extern struct bus_type ebus_bus_type;
-
 #define of_bus_type	of_platform_bus_type	/* for compatibility */
 
 #endif

+ 0 - 10
arch/sparc/kernel/of_device.c

@@ -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();
 

+ 0 - 10
arch/sparc64/kernel/of_device.c

@@ -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();