Skip to content

Commit 6865b20

Browse files
committed
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>
1 parent 00285be commit 6865b20

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

‎drivers/gpu/drm/drm_drv.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ void drm_ut_debug_printk(const char *function_name, const char *format, ...)
9090
}
9191
EXPORT_SYMBOL(drm_ut_debug_printk);
9292

93+
#define DRM_MAGIC_HASH_ORDER 4 /**< Size of key hash table. Must be power of 2. */
94+
9395
struct drm_master *drm_master_create(struct drm_minor *minor)
9496
{
9597
struct drm_master *master;

‎include/drm/drmP.h‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,6 @@ int drm_err(const char *func, const char *format, ...);
142142
#define DRIVER_PRIME 0x4000
143143
#define DRIVER_RENDER 0x8000
144144

145-
/***********************************************************************/
146-
/** \name Begin the DRM... */
147-
/*@{*/
148-
149-
#define DRM_MAGIC_HASH_ORDER 4 /**< Size of key hash table. Must be power of 2. */
150-
151-
/*@}*/
152-
153145
/***********************************************************************/
154146
/** \name Macros to make printk easier */
155147
/*@{*/

0 commit comments

Comments
 (0)