I don't want to discourage you, but "5 days of self-study on Linux" is probably not the halfway point to writing device drivers in C++....
Do you already have some programming skills? What languages do you already know?
I am currently working my way thru "Beginning Linux Programming" from Wrox. There is a chapter on device drivers. Another popular book is "Linux Device Drivers" by Greg Kroah-Hartman. Both of these--and others--should be on Amazon.
Google will probably give a bazillion hits also.