diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-08-31 18:09:04 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-09-19 15:03:46 +0200 |
commit | afb21ea63d815d05f6081ee3efef6772a16317eb (patch) | |
tree | d0dbbad659da899e64778ae531efc11857fd6237 /include/drm/drm_property.h | |
parent | 2cc107dc5b2f247dda9495fa488229cc187057d6 (diff) | |
download | linux-stable-afb21ea63d815d05f6081ee3efef6772a16317eb.tar.gz linux-stable-afb21ea63d815d05f6081ee3efef6772a16317eb.tar.bz2 linux-stable-afb21ea63d815d05f6081ee3efef6772a16317eb.zip |
drm: Move a few macros away from drm_crtc.h
Now that there's less stuff in there I noticed that I overlooked them.
Sprinkle some docs over them while at it.
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20160831160913.12991-2-daniel.vetter@ffwll.ch
Diffstat (limited to 'include/drm/drm_property.h')
-rw-r--r-- | include/drm/drm_property.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_property.h b/include/drm/drm_property.h index 30ab289be05d..43c4b6a2046d 100644 --- a/include/drm/drm_property.h +++ b/include/drm/drm_property.h @@ -219,6 +219,7 @@ struct drm_prop_enum_list { }; #define obj_to_property(x) container_of(x, struct drm_property, base) +#define obj_to_blob(x) container_of(x, struct drm_property_blob, base) /** * drm_property_type_is - check the type of a property |