/* module init entry of u_platform_bus declared with BUS_DRIVER_ENTRY, which is 2nd level driver init entry  */
static int u_platform_init(void)
/* module init entry of u_platform_bus declared with BUS_DRIVER_ENTRY, which is 2nd level driver init entry  */
static int u_platform_init(void)
{
	int r = 0;
	ddkc_dbg("u_platform_bus init\r\n");
	r = u_bus_register(&u_platform_bus);
	if (r) {
		ddkc_err("u_platform_bus init failed, ret:%d\r\n", r);
		return r;
	}
	r = u_platform_device_register(&u_platform_root_dev);
	if (r) {
		ddkc_err("u_platform_device_register failed, ret:%d\r\n", r);
		u_bus_unregister(&u_platform_bus);
	}
	return r;
}