From 94f61a7666224ab307e387ff0d146055ae77e6ab Mon Sep 17 00:00:00 2001 From: Florian Tobias Schandinat Date: Sun, 19 Feb 2012 19:11:51 +0000 Subject: [PATCH] i740fb: fix compile error when CONFIG_MTRR is not selected Signed-off-by: Florian Tobias Schandinat --- drivers/video/i740fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/i740fb.c b/drivers/video/i740fb.c index 8be030221343..fe574d84ed99 100644 --- a/drivers/video/i740fb.c +++ b/drivers/video/i740fb.c @@ -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;