projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72b4379
)
drivers/video/matrox/matroxfb_DAC1064.c: remove undead ifdef CONFIG_FB_MATROX_G
author
Christian Dietrich
<
[email protected]
>
Wed, 27 Oct 2010 22:33:23 +0000
(15:33 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 28 Oct 2010 01:03:07 +0000
(18:03 -0700)
The CONFIG_FB_MATROX_G ifdef isn't necessary at this point, because it is
checked in an outer ifdef level already and has no effect here.
Signed-off-by: Christian Dietrich <
[email protected]
>
Acked-by: Jean Delvare <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/matrox/matroxfb_DAC1064.c
patch
|
blob
|
history
diff --git
a/drivers/video/matrox/matroxfb_DAC1064.c
b/drivers/video/matrox/matroxfb_DAC1064.c
index f9fa0fd002922ba91f10e8508c8093817ad8fef6..1717623aabc0d3ff8764557757605badea859c2d 100644
(file)
--- a/
drivers/video/matrox/matroxfb_DAC1064.c
+++ b/
drivers/video/matrox/matroxfb_DAC1064.c
@@
-869,12
+869,9
@@
static int MGAG100_preinit(struct matrox_fb_info *minfo)
minfo->capable.plnwt = minfo->devflags.accelerator == FB_ACCEL_MATROX_MGAG100
? minfo->devflags.sgram : 1;
-#ifdef CONFIG_FB_MATROX_G
if (minfo->devflags.g450dac) {
minfo->outputs[0].output = &g450out;
- } else
-#endif
- {
+ } else {
minfo->outputs[0].output = &m1064;
}
minfo->outputs[0].src = minfo->outputs[0].default_src;