static int __init vc4_drm_register(void) { int ret; ret = platform_register_drivers(component_drivers, ARRAY_SIZE(component_drivers)); if (ret) return ret; return platform_driver_register(&vc4_platform_driver); }
static int __init tegra_host1x_init(void) { int err; err = bus_register(&host1x_bus_type); if (err < 0) return err; err = platform_register_drivers(drivers, ARRAY_SIZE(drivers)); if (err < 0) bus_unregister(&host1x_bus_type); return err; }
static int __init omap_drm_init(void) { DBG("init"); return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); }
static int __init sunfire_leds_init(void) { return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); }
static int __init imx_drm_init(void) { return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); }