diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-04-03 15:57:47 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-04-14 18:43:18 +0200 |
commit | 74aae1c42f4a7f69934762f9e9f90a3ec335fef2 (patch) | |
tree | 3d505a10a8725aed2eaaa299226ba5ba5ba4213a /include/drm/drm_device.h | |
parent | 8089a622d9b494f132f1799c318df5e36bb88def (diff) | |
download | linux-74aae1c42f4a7f69934762f9e9f90a3ec335fef2.tar.bz2 |
drm/device: Deprecate dev_private harder
We've had lots of conversions to embeddeding, but didn't stop using
->dev_private. Which defeats the point of this.
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200403135828.2542770-4-daniel.vetter@ffwll.ch
Diffstat (limited to 'include/drm/drm_device.h')
-rw-r--r-- | include/drm/drm_device.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/drm/drm_device.h b/include/drm/drm_device.h index d39132b477dd..a55874db9dd4 100644 --- a/include/drm/drm_device.h +++ b/include/drm/drm_device.h @@ -88,9 +88,12 @@ struct drm_device { /** * @dev_private: * - * DRM driver private data. Instead of using this pointer it is - * recommended that drivers use drm_dev_init() and embed struct - * &drm_device in their larger per-device structure. + * DRM driver private data. This is deprecated and should be left set to + * NULL. + * + * Instead of using this pointer it is recommended that drivers use + * drm_dev_init() and embed struct &drm_device in their larger + * per-device structure. */ void *dev_private; |