diff options
author | Chris Wilson | 2016-06-15 14:17:48 +0200 |
---|---|---|
committer | Daniel Vetter | 2016-06-17 09:43:29 +0200 |
commit | 40daac6136948dc83c1dec14fe4a2444915b22df (patch) | |
tree | d1a6fd9ec859efb4ae9b241dbb5b642d9a20cbc2 /block/noop-iosched.c | |
parent | drm: Add a callback from connector registering (diff) | |
download | kernel-qcow2-linux-40daac6136948dc83c1dec14fe4a2444915b22df.tar.gz kernel-qcow2-linux-40daac6136948dc83c1dec14fe4a2444915b22df.tar.xz kernel-qcow2-linux-40daac6136948dc83c1dec14fe4a2444915b22df.zip |
drm: Make drm_connector_register() safe against multiple calls
Protect against drivers that may try to register the connector more
than once, or who try to unregister it multiple times.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Dave Airlie <airlied@redhat.com>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1465993109-19523-4-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions