i740fb: fix compile error when CONFIG_MTRR is not selected

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
This commit is contained in:
Florian Tobias Schandinat 2012-02-19 19:11:51 +00:00
parent 5350c65f4f
commit 94f61a7666
1 changed files with 1 additions and 1 deletions

View File

@ -1179,9 +1179,9 @@ static void __devexit i740fb_remove(struct pci_dev *dev)
struct fb_info *info = pci_get_drvdata(dev);
if (info) {
#ifdef CONFIG_MTRR
struct i740fb_par *par = info->par;
#ifdef CONFIG_MTRR
if (par->mtrr_reg >= 0) {
mtrr_del(par->mtrr_reg, 0, 0);
par->mtrr_reg = -1;