Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sparc: Kill ebus_bus_type.

No longer used.

Signed-off-by: David S. Miller <davem@davemloft.net>

-22
-2
arch/sparc/include/asm/of_platform.h
··· 13 13 * 14 14 */ 15 15 16 - extern struct bus_type ebus_bus_type; 17 - 18 16 #define of_bus_type of_platform_bus_type /* for compatibility */ 19 17 20 18 #endif
-10
arch/sparc/kernel/of_device.c
··· 62 62 } 63 63 } 64 64 65 - #ifdef CONFIG_PCI 66 - struct bus_type ebus_bus_type; 67 - EXPORT_SYMBOL(ebus_bus_type); 68 - #endif 69 - 70 65 struct bus_type of_platform_bus_type; 71 66 EXPORT_SYMBOL(of_platform_bus_type); 72 67 ··· 579 584 int err; 580 585 581 586 err = of_bus_type_init(&of_platform_bus_type, "of"); 582 - #ifdef CONFIG_PCI 583 - if (!err) 584 - err = of_bus_type_init(&ebus_bus_type, "ebus"); 585 - #endif 586 - 587 587 if (!err) 588 588 scan_of_devices(); 589 589
-10
arch/sparc64/kernel/of_device.c
··· 88 88 } 89 89 } 90 90 91 - #ifdef CONFIG_PCI 92 - struct bus_type ebus_bus_type; 93 - EXPORT_SYMBOL(ebus_bus_type); 94 - #endif 95 - 96 91 struct bus_type of_platform_bus_type; 97 92 EXPORT_SYMBOL(of_platform_bus_type); 98 93 ··· 860 865 int err; 861 866 862 867 err = of_bus_type_init(&of_platform_bus_type, "of"); 863 - #ifdef CONFIG_PCI 864 - if (!err) 865 - err = of_bus_type_init(&ebus_bus_type, "ebus"); 866 - #endif 867 - 868 868 if (!err) 869 869 scan_of_devices(); 870 870