lkml.org 
[lkml]   [2006]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectQuick question: What's the best way to use the existing driver code
Hi all,

I'm writing a framebuffer driver, which should be under the folder
"./drivers/video/mydriver.c".
The video controller in my driver need a I2C driver to do some setting.
I found there is already a driver which can be used under the folder
"./drivers/media/video/adv7170.c". Another video driver also uses it.
You see, they are in the different folder and there is no special
configuration menu for the I2C driver "adv7170.c". So, what's the best
way to use the existing driver? Now the easiest way is copying the
driver to my framebuffer folder and add it to the makefile. But I
don't think it's the best way.
Thanks any hints,

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

\
 
 \ /
  Last update: 2006-03-05 06:16    [W:0.036 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site