From 6865b20ad354548a045c74a388eb37afe1ad5174 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Wed, 10 Sep 2014 12:44:00 +0200 Subject: [PATCH] drm: Move DRM_MAGIC_HASH_ORDER into drm_drv.c Only used in one place ever, so put it right next to that. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_drv.c | 2 ++ include/drm/drmP.h | 8 -------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index fcc9d7d81a02..6a119026a76b 100644 --- a/drivers/gpu/drm/drm_drv.c +++ b/drivers/gpu/drm/drm_drv.c @@ -90,6 +90,8 @@ void drm_ut_debug_printk(const char *function_name, const char *format, ...) } EXPORT_SYMBOL(drm_ut_debug_printk); +#define DRM_MAGIC_HASH_ORDER 4 /**< Size of key hash table. Must be power of 2. */ + struct drm_master *drm_master_create(struct drm_minor *minor) { struct drm_master *master; diff --git a/include/drm/drmP.h b/include/drm/drmP.h index b603cb42e347..5c60d384b37b 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -142,14 +142,6 @@ int drm_err(const char *func, const char *format, ...); #define DRIVER_PRIME 0x4000 #define DRIVER_RENDER 0x8000 -/***********************************************************************/ -/** \name Begin the DRM... */ -/*@{*/ - -#define DRM_MAGIC_HASH_ORDER 4 /**< Size of key hash table. Must be power of 2. */ - -/*@}*/ - /***********************************************************************/ /** \name Macros to make printk easier */ /*@{*/