Skip to content

Commit 78dd6a8

Browse files
qlyjsldalexdeucher
authored andcommitted
drm/radeon: use variable flags as parameter
To be consistent with amdgpu driver, use "flags" as the parameter because it is already assigned as "ent->driver_data". Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Tested-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Wu Hoi Pok <wuhoipok@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 9098566 commit 78dd6a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/radeon/radeon_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ static int radeon_pci_probe(struct pci_dev *pdev,
314314
if (ret)
315315
goto err_agp;
316316

317-
ret = drm_dev_register(ddev, ent->driver_data);
317+
ret = drm_dev_register(ddev, flags);
318318
if (ret)
319319
goto err_agp;
320320

0 commit comments

Comments
 (0)