From: Daniel Vetter Date: Wed, 10 Sep 2014 10:44:00 +0000 (+0200) Subject: drm: Move DRM_MAGIC_HASH_ORDER into drm_drv.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6865b20ad354548a045c74a388eb37afe1ad5174;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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 */ /*@{*/