1. NAME

drm_connector_init - Init a preallocated connector

2. SYNOPSIS

int drm_connector_init(struct drm_device *  dev , struct drm_connector *  connector , const struct drm_connector_funcs *  funcs , int  connector_type );

3. ARGUMENTS

dev
    DRM device

connector
    the connector to init

funcs
    callbacks for this connector

connector_type
    user visible type of the connector

4. DESCRIPTION

Initialises a preallocated connector. Connectors should be subclassed as part of driver connector objects.

5. RETURNS

Zero on success, error code on failure.

6. AUTHORS

Jesse Barnes <>
Intel Corporation,
    Initial version

Laurent Pinchart <>
Ideas on board SPRL,
    Driver internals

7. COPYRIGHT