diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-10 12:44:00 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-12 15:28:14 +0200 |
commit | 6865b20ad354548a045c74a388eb37afe1ad5174 (patch) | |
tree | fd9b33437c6299306119866e74421bf2190390ca | |
parent | 00285be8ff2c07379d4809ed2750f8244f0c23fa (diff) | |
download | linux-6865b20ad354548a045c74a388eb37afe1ad5174.tar.bz2 |
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 <daniel.vetter@ffwll.ch>
-rw-r--r-- | drivers/gpu/drm/drm_drv.c | 2 | ||||
-rw-r--r-- | 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 @@ -143,14 +143,6 @@ int drm_err(const char *func, const char *format, ...); #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 */ /*@{*/ |