aboutsummaryrefslogtreecommitdiff
path: root/util-linux/fbset.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/fbset.c')
-rw-r--r--util-linux/fbset.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/fbset.c b/util-linux/fbset.c
index dc3245baf..2769a371a 100644
--- a/util-linux/fbset.c
+++ b/util-linux/fbset.c
@@ -189,17 +189,17 @@ static const struct cmdoptions_t {
189#endif 189#endif
190}; 190};
191 191
192#if ENABLE_FEATURE_FBSET_READMODE
193/* taken from linux/fb.h */ 192/* taken from linux/fb.h */
194enum { 193enum {
195 FB_VMODE_INTERLACED = 1, /* interlaced */
196 FB_VMODE_DOUBLE = 2, /* double scan */
197 FB_SYNC_HOR_HIGH_ACT = 1, /* horizontal sync high active */ 194 FB_SYNC_HOR_HIGH_ACT = 1, /* horizontal sync high active */
198 FB_SYNC_VERT_HIGH_ACT = 2, /* vertical sync high active */ 195 FB_SYNC_VERT_HIGH_ACT = 2, /* vertical sync high active */
196#if ENABLE_FEATURE_FBSET_READMODE
197 FB_VMODE_INTERLACED = 1, /* interlaced */
198 FB_VMODE_DOUBLE = 2, /* double scan */
199 FB_SYNC_EXT = 4, /* external sync */ 199 FB_SYNC_EXT = 4, /* external sync */
200 FB_SYNC_COMP_HIGH_ACT = 8, /* composite sync high active */ 200 FB_SYNC_COMP_HIGH_ACT = 8, /* composite sync high active */
201};
202#endif 201#endif
202};
203 203
204#if ENABLE_FEATURE_FBSET_READMODE 204#if ENABLE_FEATURE_FBSET_READMODE
205static void ss(uint32_t *x, uint32_t flag, char *buf, const char *what) 205static void ss(uint32_t *x, uint32_t flag, char *buf, const char *what)