i915: unmap BIOS when we're done with it

At the moment, we only read it at startup time, so we can just unmap it there
when we're done.
main
Jesse Barnes 2008-05-28 08:24:42 -07:00 committed by Jesse Barnes
parent 9fc4ea5c00
commit 070755af3f
1 changed files with 2 additions and 0 deletions

View File

@ -236,5 +236,7 @@ intel_init_bios(struct drm_device *dev)
parse_general_features(dev_priv, bdb); parse_general_features(dev_priv, bdb);
parse_panel_data(dev_priv, bdb); parse_panel_data(dev_priv, bdb);
pci_unmap_rom(pdev, bios);
return 0; return 0;
} }