diff options
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drm_os_linux.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drm_os_linux.h b/linux/drm_os_linux.h index 38a5769e..cf7d7c2d 100644 --- a/linux/drm_os_linux.h +++ b/linux/drm_os_linux.h @@ -83,6 +83,8 @@ typedef void irqreturn_t; /** 'free' without the overhead of DRM(free)() */ #define DRM_FREE(x,size) kfree(x) +#define DRM_GET_PRIV_WITH_RETURN(_priv, _filp) _priv = _filp->private_data + /** * Get the pointer to the SAREA. * |