diff options
author | Jesse Barnes <jbarnes@hobbes.lan> | 2008-05-28 08:24:42 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-05-28 08:24:42 -0700 |
commit | 070755af3fecefb6b09e8ef98738e4926e4148a7 (patch) | |
tree | 8ec49ff52685e2c5e7604aef90a19d6413a61483 /linux-core | |
parent | 9fc4ea5c00dfb91ebff893fb5092e768155cc2e2 (diff) |
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.
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/intel_bios.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/intel_bios.c b/linux-core/intel_bios.c index f124fa1a..0cdc915c 100644 --- a/linux-core/intel_bios.c +++ b/linux-core/intel_bios.c @@ -236,5 +236,7 @@ intel_init_bios(struct drm_device *dev) parse_general_features(dev_priv, bdb); parse_panel_data(dev_priv, bdb); + pci_unmap_rom(pdev, bios); + return 0; } |