I have some data available in /dev/mtd/0ro. I have no problem to get this data from userspace by opening this device and reading from it. But I need to get this data also within some kernel driver.
What is the easiest way I can do this?
What should I watch for?
Any hints/examples are welcomed.