From 070755af3fecefb6b09e8ef98738e4926e4148a7 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Wed, 28 May 2008 08:24:42 -0700 Subject: 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. --- linux-core/intel_bios.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux-core/intel_bios.c') 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; } -- cgit v1.2.3