Quick question: What's the best way to use the existing driver code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux