[SPARC/64] Rename some functions like PowerPC
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / asm-sparc / of_device.h
index b625261c9ec72b2b94989748c2d0dba2dea5bcd9..fd8e9574313954d38cc628371d08ff777d26f98b 100644 (file)
@@ -9,7 +9,8 @@
 
 extern struct bus_type ebus_bus_type;
 extern struct bus_type sbus_bus_type;
-extern struct bus_type of_bus_type;
+extern struct bus_type of_platform_bus_type;
+#define of_bus_type    of_platform_bus_type    /* for compatibility */
 
 /*
  * The of_device is a kind of "base class" that is a superset of