Thread (5 messages) flat view 5 messages, 5 authors, 2012-11-21

Re: [PATCH v12 3/6] fbmon: add videomode helpers

From: Tomi Valkeinen <hidden>
Date: 2012-11-21 12:27:45
Also in: dri-devel, linux-fbdev, linux-media

Possibly related (same subject, not in this thread)

On 2012-11-20 17:54, Steffen Trumtrar wrote:
quoted hunk ↗ jump to hunk
diff --git a/include/linux/fb.h b/include/linux/fb.h
index c7a9571..920cbe3 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -14,6 +14,7 @@
 #include <linux/backlight.h>
 #include <linux/slab.h>
 #include <asm/io.h>
+#include <linux/videomode.h>
No need for this, just add "struct xxx;".
quoted hunk ↗ jump to hunk
 struct vm_area_struct;
 struct fb_info;
@@ -714,6 +715,11 @@ extern void fb_destroy_modedb(struct fb_videomode *modedb);
 extern int fb_find_mode_cvt(struct fb_videomode *mode, int margins, int rb);
 extern unsigned char *fb_ddc_read(struct i2c_adapter *adapter);
 
+#if IS_ENABLED(CONFIG_VIDEOMODE)
+extern int fb_videomode_from_videomode(const struct videomode *vm,
+				       struct fb_videomode *fbmode);
+#endif
+
 /* drivers/video/modedb.c */
 #define VESA_MODEDB_SIZE 34
 extern void fb_var_to_videomode(struct fb_videomode *mode,
  

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help