lkml.org 
[lkml]   [1999]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjecti2c and fbcon

Hi!

I have been looking threw the code for i2c. This code could be really
useful for several framebuffer drivers to do things like dual heads. Right
now you only have it initialized right before videodev_init. Could we have
it initialzed before fbmem_init? I have a patch below for this. Thank you.

James Simmons (o_
fbdev/gfx developer (o_ (o_ //\
http://www.linux-fbdev.org (/)_ (/)_ V_/_
http://linuxgfx.sourceforge.net

--- mem.c.orig Sun Dec 26 18:36:23 1999
+++ mem.c Sun Dec 26 18:37:15 1999
@@ -624,6 +624,9 @@
#ifdef CONFIG_USB
usb_init();
#endif
+#ifdef CONFIG_I2C
+ i2c_init_all();
+#endif
#if defined (CONFIG_FB)
fbmem_init();
#endif
@@ -669,10 +672,6 @@
#ifdef CONFIG_FTAPE
ftape_init();
#endif
-#ifdef CONFIG_I2C
- i2c_init_all();
-#endif
-
#ifdef CONFIG_VIDEO_BT848
i2c_init();
#endif


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.042 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site