Commit 6865b20a authored by Daniel Vetter's avatar Daniel Vetter

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: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 00285be8
...@@ -90,6 +90,8 @@ void drm_ut_debug_printk(const char *function_name, const char *format, ...) ...@@ -90,6 +90,8 @@ void drm_ut_debug_printk(const char *function_name, const char *format, ...)
} }
EXPORT_SYMBOL(drm_ut_debug_printk); 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 *drm_master_create(struct drm_minor *minor)
{ {
struct drm_master *master; struct drm_master *master;
......
...@@ -142,14 +142,6 @@ int drm_err(const char *func, const char *format, ...); ...@@ -142,14 +142,6 @@ int drm_err(const char *func, const char *format, ...);
#define DRIVER_PRIME 0x4000 #define DRIVER_PRIME 0x4000
#define DRIVER_RENDER 0x8000 #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 */ /** \name Macros to make printk easier */
/*@{*/ /*@{*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment