Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1279912

[PATCH 20/20] drm: via: remove userland header

From Gabriel Laskar <gabriel@lse.epita.fr>
Newsgroups linux.kernel
Subject [PATCH 20/20] drm: via: remove userland header
Date 2015-11-30 15:20 +0100
Message-ID <qAxt9-4HX-27@gated-at.bofh.it> (permalink)
References <qAxt8-4HX-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


via_drmclient.h comes from userland drivers, it should not be in the
kernel public headers. Moreover, this does not compile if taken outside
of the drivers.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
CC: Emil Velikov <emil.l.velikov@gmail.com>
CC: Mikko Rapeli <mikko.rapeli@iki.fi>

---
 include/uapi/drm/via_drm.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h
index fd11a5b..12507e0 100644
--- a/include/uapi/drm/via_drm.h
+++ b/include/uapi/drm/via_drm.h
@@ -33,10 +33,6 @@
 #ifndef _VIA_DEFINES_
 #define _VIA_DEFINES_
 
-#ifndef __KERNEL__
-#include "via_drmclient.h"
-#endif
-
 #define VIA_NR_SAREA_CLIPRECTS		8
 #define VIA_NR_XVMC_PORTS               10
 #define VIA_NR_XVMC_LOCKS               5
-- 
2.6.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 20/20] drm: via: remove userland header Gabriel Laskar <gabriel@lse.epita.fr> - 2015-11-30 15:20 +0100

csiph-web