drm: Make drm.h uapi header safe for C++
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 30 Mar 2016 15:12:33 +0000 (17:12 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 30 Mar 2016 19:07:45 +0000 (21:07 +0200)
commit4c4925fa0c2b5943655ef28b2d6a379961db551f
tree98bf2bb8420e0dd3e057af87c20bdb7721f0529e
parent44debe7a123cc760fc90ccbe253210798c917fa7
drm: Make drm.h uapi header safe for C++

virtual is a protected keyword in C++ and can't be used at all. Ugh.

This aligns the kernel versions of the drm headers with the ones in
libdrm.

v2: Also annote with __user, as request by Emil&Ilia.

Cc: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1459350753-18320-1-git-send-email-daniel.vetter@ffwll.ch
include/uapi/drm/drm.h