summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.lan>2008-05-28 08:24:42 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-05-28 08:24:42 -0700
commit070755af3fecefb6b09e8ef98738e4926e4148a7 (patch)
tree8ec49ff52685e2c5e7604aef90a19d6413a61483
parent9fc4ea5c00dfb91ebff893fb5092e768155cc2e2 (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.
-rw-r--r--linux-core/intel_bios.c2
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;
}