Where to place V4L2 API code in linux kernel source?

Viewed 25

I was writing a custome V4L2 code based on V4lL2-skeleton-api.c and now I'm confused as to do not know where to place the code inside of the linux kernel source code? It was calling functions from another dma sensor which is placed inside of /drivers/dma/mysensor/ so should I placed the V4L2 inside the same folder as well?

And I believe that by generated the code, it would created a video node /dev/node on the device by itself?

Thank you

0 Answers
Related