Name
drm_platform_init —
Register a platform device with the DRM subsystem
Synopsis
int drm_platform_init ( | struct drm_driver * driver, |
| | struct platform_device * platform_device); |
Arguments
driver
DRM device driver
platform_device
platform device to register
Description
Registers the specified DRM device driver and platform device with the DRM
subsystem, initializing a drm_device structure and calling the driver's
.load function.
Return
0 on success or a negative error code on failure.