This repository was archived by the owner on Nov 8, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ DEFINE_STATIC_SRCU(drm_unplug_srcu);
84
84
*/
85
85
86
86
static struct drm_minor * * drm_minor_get_slot (struct drm_device * dev ,
87
- unsigned int type )
87
+ enum drm_minor_type type )
88
88
{
89
89
switch (type ) {
90
90
case DRM_MINOR_PRIMARY :
@@ -116,7 +116,7 @@ static void drm_minor_alloc_release(struct drm_device *dev, void *data)
116
116
}
117
117
}
118
118
119
- static int drm_minor_alloc (struct drm_device * dev , unsigned int type )
119
+ static int drm_minor_alloc (struct drm_device * dev , enum drm_minor_type type )
120
120
{
121
121
struct drm_minor * minor ;
122
122
unsigned long flags ;
@@ -160,7 +160,7 @@ static int drm_minor_alloc(struct drm_device *dev, unsigned int type)
160
160
return 0 ;
161
161
}
162
162
163
- static int drm_minor_register (struct drm_device * dev , unsigned int type )
163
+ static int drm_minor_register (struct drm_device * dev , enum drm_minor_type type )
164
164
{
165
165
struct drm_minor * minor ;
166
166
unsigned long flags ;
@@ -203,7 +203,7 @@ static int drm_minor_register(struct drm_device *dev, unsigned int type)
203
203
return ret ;
204
204
}
205
205
206
- static void drm_minor_unregister (struct drm_device * dev , unsigned int type )
206
+ static void drm_minor_unregister (struct drm_device * dev , enum drm_minor_type type )
207
207
{
208
208
struct drm_minor * minor ;
209
209
unsigned long flags ;
You can’t perform that action at this time.
0 commit comments