On Mon, 22 Dec 2008, Guennadi Liakhovetski wrote:
quoted hunk ↗ jump to hunk
--- /dev/null
+++ b/drivers/video/mx3fb.c
quoted hunk ↗ jump to hunk
+/**
+ * mx3fb_check_var() - check and adjust framebuffer variable parameters.
+ *
+ * @var: framebuffer variable parameters
+ * @fbi: framebuffer information pointer
+ */
+static int mx3fb_check_var(struct fb_var_screeninfo *var, struct fb_info *fbi)
+{
[...]
quoted hunk ↗ jump to hunk
+ /* Copy nonstd field to/from sync for fbset usage */
+ var->sync |= var->nonstd;
+ var->nonstd |= var->sync;
What's the purpose of this (ab)use of .nonstd?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds