diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-02-19 14:11:51 -0500 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-02-19 14:11:51 -0500 |
commit | 94f61a7666224ab307e387ff0d146055ae77e6ab (patch) | |
tree | 22cbbfcc53a13fdd2482335b97d93966ef1ca0b2 /drivers/video/i740fb.c | |
parent | 5350c65f4f15bbc111ffa629130d3f32cdd4ccf6 (diff) |
i740fb: fix compile error when CONFIG_MTRR is not selected
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/i740fb.c')
-rw-r--r-- | drivers/video/i740fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
1179 | struct fb_info *info = pci_get_drvdata(dev); | 1179 | struct fb_info *info = pci_get_drvdata(dev); |
1180 | 1180 | ||
1181 | if (info) { | 1181 | if (info) { |
1182 | #ifdef CONFIG_MTRR | ||
1183 | struct i740fb_par *par = info->par; | 1182 | struct i740fb_par *par = info->par; |
1184 | 1183 | ||
1184 | #ifdef CONFIG_MTRR | ||
1185 | if (par->mtrr_reg >= 0) { | 1185 | if (par->mtrr_reg >= 0) { |
1186 | mtrr_del(par->mtrr_reg, 0, 0); | 1186 | mtrr_del(par->mtrr_reg, 0, 0); |
1187 | par->mtrr_reg = -1; | 1187 | par->mtrr_reg = -1; |