drm: move MODULE_PARM_DESC to other file
Subsystems (3)
PATCH 1/1 drm: move MODULE_PARM_DESC to other file
We moved the module options from drm_drv.c to drm_irq.c in 18882995713d ('drm: Move vblank related module options into drm_irq.c'). Let's move the MODULE_PARM_DESC()s as well so they're together.
Signed-off-by Dan Carpenter <[email protected]>
drivers/gpu/drm/drm_drv.c +0 -4
@@ -44,10 +44,6 @@ MODULE_AUTHOR(CORE_AUTHOR);MODULE_DESCRIPTION (CORE_DESC );MODULE_LICENSE ("GPL and additional rights" );MODULE_PARM_DESC (debug,"Enable debug output" ); -MODULE_PARM_DESC (vblankoffdelay,"Delay until vblank irq auto-disable [msecs] (0: never disable, <0: disable immediately)" ); -MODULE_PARM_DESC (timestamp_precision_usec,"Max. error on timestamps [usecs]" ); -MODULE_PARM_DESC (timestamp_monotonic,"Use monotonic timestamps" ); -module_param_named (debug, drm_debug, int,0600 );static DEFINE_SPINLOCK (drm_minor_lock);
drivers/gpu/drm/drm_irq.c +3 -0
@@ -73,6 +73,9 @@ static int drm_vblank_offdelay = 5000; /* Default to 5000 msecs. */module_param_named (vblankoffdelay, drm_vblank_offdelay, int,0600 );module_param_named (timestamp_precision_usec, drm_timestamp_precision, int,0600 );module_param_named (timestamp_monotonic, drm_timestamp_monotonic, int,0600 ); +MODULE_PARM_DESC (vblankoffdelay,"Delay until vblank irq auto-disable [msecs] (0: never disable, <0: disable immediately)" ); +MODULE_PARM_DESC (timestamp_precision_usec,"Max. error on timestamps [usecs]" ); +MODULE_PARM_DESC (timestamp_monotonic,"Use monotonic timestamps" ); static void store_vblank(struct drm_device *dev, unsigned int pipe, u32 vblank_count_inc,
Quoted 5 lines · Dan Carpenter
We moved the module options from
drm_drv.ctodrm_irq.cin18882995713d('drm: Move vblank related module options intodrm_irq.c'). Let's move the MODULE_PARM_DESC()s as well so they're together.Signed-off-by Dan Carpenter <[email protected]>
Yeah makes sense. Applied to drm-misc, thanks.
-Daniel
Quoted 30 lines
drivers/gpu/drm/drm_drv.c +0
-4@@ -44,10 +44,6 @@ MODULE_AUTHOR(CORE_AUTHOR);MODULE_DESCRIPTION (CORE_DESC );MODULE_LICENSE ("GPL and additional rights" );MODULE_PARM_DESC (debug,"Enable debug output" ); -MODULE_PARM_DESC (vblankoffdelay,"Delay until vblank irq auto-disable [msecs] (0: never disable, <0: disable immediately)" ); -MODULE_PARM_DESC (timestamp_precision_usec,"Max. error on timestamps [usecs]" ); -MODULE_PARM_DESC (timestamp_monotonic,"Use monotonic timestamps" ); -module_param_named (debug, drm_debug, int,0600 );static DEFINE_SPINLOCK (drm_minor_lock);drivers/gpu/drm/drm_irq.c +3
-0@@ -73,6 +73,9 @@ static int drm_vblank_offdelay = 5000; /* Default to 5000 msecs. */module_param_named (vblankoffdelay, drm_vblank_offdelay, int,0600 );module_param_named (timestamp_precision_usec, drm_timestamp_precision, int,0600 );module_param_named (timestamp_monotonic, drm_timestamp_monotonic, int,0600 ); +MODULE_PARM_DESC (vblankoffdelay,"Delay until vblank irq auto-disable [msecs] (0: never disable, <0: disable immediately)" ); +MODULE_PARM_DESC (timestamp_precision_usec,"Max. error on timestamps [usecs]" ); +MODULE_PARM_DESC (timestamp_monotonic,"Use monotonic timestamps" ); static void store_vblank(struct drm_device *dev, unsigned int pipe, u32 vblank_count_inc,
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch