summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2019-08-14 05:32:57 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2019-08-14 05:32:57 +0000
commitedb34c21723f51d28c4e97cd8762173f7372abed (patch)
treecc8797ce076d80b26cc31de13813bcb4dd9a1d5a
parent3edf48053c358f611750a26b0eb0fe4fb7a2f418 (diff)
move CONFIG_DRM_FBDEV_EMULATION and CONFIG_BACKLIGHT_CLASS_DEVICE
defines to kconfig.h with most of the others
-rw-r--r--sys/dev/pci/drm/include/drm/drmP.h5
-rw-r--r--sys/dev/pci/drm/include/linux/kconfig.h2
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/include/drm/drmP.h b/sys/dev/pci/drm/include/drm/drmP.h
index fe6b78d4024..61c608a21c0 100644
--- a/sys/dev/pci/drm/include/drm/drmP.h
+++ b/sys/dev/pci/drm/include/drm/drmP.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: drmP.h,v 1.3 2019/07/25 05:48:16 jsg Exp $ */
+/* $OpenBSD: drmP.h,v 1.4 2019/08/14 05:32:56 jsg Exp $ */
/* drmP.h -- Private header for Direct Rendering Manager -*- linux-c -*-
* Created: Mon Jan 4 10:05:05 1999 by faith@precisioninsight.com
*/
@@ -67,9 +67,6 @@
#include <dev/pci/agpvar.h>
#include <machine/bus.h>
-#define CONFIG_DRM_FBDEV_EMULATION 1
-#define CONFIG_BACKLIGHT_CLASS_DEVICE 1
-
#include <linux/agp_backend.h>
#include <linux/cdev.h>
#include <linux/dma-mapping.h>
diff --git a/sys/dev/pci/drm/include/linux/kconfig.h b/sys/dev/pci/drm/include/linux/kconfig.h
index 060c00bb5ab..439c8f57879 100644
--- a/sys/dev/pci/drm/include/linux/kconfig.h
+++ b/sys/dev/pci/drm/include/linux/kconfig.h
@@ -10,7 +10,9 @@
#define IS_ENABLED(x) x - 0
#define IS_BUILTIN(x) 1
+#define CONFIG_DRM_FBDEV_EMULATION 1
#define CONFIG_DRM_FBDEV_OVERALLOC 0
+#define CONFIG_BACKLIGHT_CLASS_DEVICE 1
#define CONFIG_DRM_I915_DEBUG 0
#define CONFIG_DRM_I915_DEBUG_GEM 0
#define CONFIG_DRM_I915_FBDEV 1