Messages in this thread Patch in this message | | | Date | Sun, 26 Dec 1999 18:38:07 -0500 (EST) | From | James Simmons <> | Subject | i2c 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/
| |