commit | 8277cf87bd676e3af869bb2c2c5249a215e2822c | [log] [tgz] |
---|---|---|
author | Aaro Koskinen <aaro.koskinen@iki.fi> | Sun Mar 13 12:26:13 2011 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Mar 14 11:52:27 2011 -0700 |
tree | b74cfb17abd179382cbc784fbf5191a40ff50960 | |
parent | 8a1ed67b51911086c7c284dd1d43c2e699afd884 [diff] |
staging: xgifb: delete incorrect I/O mapping If the PCI device was disabled when the probe() routine started, the driver will create 256 MB video memory mapping which is never used or properly released. It's also unsafe as the size is incorrect for many video cards. Deleting it also allows eliminating XGIvga_enable global variable. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>