summaryrefslogtreecommitdiffstats
path: root/drivers/video/matrox/matroxfb_misc.h
diff options
context:
space:
mode:
authorJean Delvare2009-09-23 01:47:48 +0200
committerLinus Torvalds2009-09-23 16:39:57 +0200
commitfc2d10ddfc8989e82f74d2a38c7d6bfa45bcaba9 (patch)
treebda524a0244bb7df1e0f315b1344989564f63765 /drivers/video/matrox/matroxfb_misc.h
parentmatroxfb: make CONFIG_FB_MATROX_MULTIHEAD=y mandatory (diff)
downloadkernel-qcow2-linux-fc2d10ddfc8989e82f74d2a38c7d6bfa45bcaba9.tar.gz
kernel-qcow2-linux-fc2d10ddfc8989e82f74d2a38c7d6bfa45bcaba9.tar.xz
kernel-qcow2-linux-fc2d10ddfc8989e82f74d2a38c7d6bfa45bcaba9.zip
matroxfb: get rid of unneeded macros ACCESS_FBINFO and MINFO
With multihead support always enabled, these macros are no longer needed and make the code harder to read. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Petr Vandrovec <vandrove@vc.cvut.cz> Cc: Krzysztof Helt <krzysztof.h1@poczta.fm> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/matrox/matroxfb_misc.h')
-rw-r--r--drivers/video/matrox/matroxfb_misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/matrox/matroxfb_misc.h b/drivers/video/matrox/matroxfb_misc.h
index cb62cc0ead96..b46004576fb2 100644
--- a/drivers/video/matrox/matroxfb_misc.h
+++ b/drivers/video/matrox/matroxfb_misc.h
@@ -8,7 +8,7 @@ int matroxfb_PLL_calcclock(const struct matrox_pll_features* pll, unsigned int f
unsigned int* in, unsigned int* feed, unsigned int* post);
static inline int PLL_calcclock(CPMINFO unsigned int freq, unsigned int fmax,
unsigned int* in, unsigned int* feed, unsigned int* post) {
- return matroxfb_PLL_calcclock(&ACCESS_FBINFO(features.pll), freq, fmax, in, feed, post);
+ return matroxfb_PLL_calcclock(&minfo->features.pll, freq, fmax, in, feed, post);
}
int matroxfb_vgaHWinit(WPMINFO struct my_timming* m);