drm/linux: Improve request_firmware() compatibility
[dragonfly.git] / sys / dev / drm / radeon / r100.c
index 86a1990..7ebb73d 100644 (file)
@@ -1025,7 +1025,7 @@ static int r100_cp_init_microcode(struct radeon_device *rdev)
                fw_name = FIRMWARE_R520;
        }
 
-       err = request_firmware(&rdev->me_fw, fw_name, rdev->dev->bsddev);
+       err = request_firmware(&rdev->me_fw, fw_name, rdev->dev);
        if (err) {
                printk(KERN_ERR "radeon_cp: Failed to load firmware \"%s\"\n",
                       fw_name);