drm/linux: Improve request_firmware() compatibility
[dragonfly.git] / sys / dev / drm / radeon / radeon_vce.c
index d47c49e..026d6ed 100644 (file)
@@ -74,7 +74,7 @@ int radeon_vce_init(struct radeon_device *rdev)
                return -EINVAL;
        }
 
-       r = request_firmware(&rdev->vce_fw, fw_name, rdev->dev->bsddev);
+       r = request_firmware(&rdev->vce_fw, fw_name, rdev->dev);
        if (r) {
                dev_err(rdev->dev, "radeon_vce: Can't load firmware \"%s\"\n",
                        fw_name);