static int pdev_probe(struct platform_device *device) { if (omapdss_is_initialized() == false) return -EPROBE_DEFER; DBG("%s", device->name); return drm_platform_init(&omap_drm_driver, device); }
static int __init vivante_init(void) { int retcode; pplatformdev = platform_device_register_simple(platformdevicename, -1, NULL, 0); if (pplatformdev == NULL) printk(KERN_ERR"Platform device is null\n"); retcode = drm_platform_init(&driver, pplatformdev); return retcode; }
static int pdev_probe(struct platform_device *device) { int r; if (omapdss_is_initialized() == false) return -EPROBE_DEFER; omap_crtc_pre_init(); r = omap_connect_dssdevs(); if (r) { omap_crtc_pre_uninit(); return r; } DBG("%s", device->name); return drm_platform_init(&omap_drm_driver, device); }
static int xylon_drm_platform_probe(struct platform_device *pdev) { return drm_platform_init(&xylon_drm_driver, pdev); }
static int pdev_probe(struct platform_device *device) { DBG("%s", device->name); return drm_platform_init(&omap_drm_driver, device); }
static int armada_drm_bind(struct device *dev) { return drm_platform_init(&armada_drm_driver, to_platform_device(dev)); }
static int shmob_drm_probe(struct platform_device *pdev) { return drm_platform_init(&shmob_drm_driver, pdev); }
static int rcar_du_probe(struct platform_device *pdev) { return drm_platform_init(&rcar_du_driver, pdev); }
static int armada_drm_probe(struct platform_device *pdev) { return drm_platform_init(&armada_drm_driver, pdev); }