diff options
Diffstat (limited to 'drivers/video/aty/radeon_base.c')
-rw-r--r-- | drivers/video/aty/radeon_base.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c index 47a6b12bc968..e7e8b52014c3 100644 --- a/drivers/video/aty/radeon_base.c +++ b/drivers/video/aty/radeon_base.c | |||
@@ -2521,6 +2521,11 @@ static void __devexit radeonfb_pci_unregister (struct pci_dev *pdev) | |||
2521 | 2521 | ||
2522 | radeonfb_pm_exit(rinfo); | 2522 | radeonfb_pm_exit(rinfo); |
2523 | 2523 | ||
2524 | if (rinfo->mon1_EDID) | ||
2525 | sysfs_remove_bin_file(&rinfo->pdev->dev.kobj, &edid1_attr); | ||
2526 | if (rinfo->mon2_EDID) | ||
2527 | sysfs_remove_bin_file(&rinfo->pdev->dev.kobj, &edid2_attr); | ||
2528 | |||
2524 | #if 0 | 2529 | #if 0 |
2525 | /* restore original state | 2530 | /* restore original state |
2526 | * | 2531 | * |