Hi folks,

I want to write a device driver that I can 'select' on. It'll use the standard I2C driver for hardware access. But I'm not sure how to write a driver that uses another. I don't care about clever modprobing, I'll do that by hand. But it would seem strange to just open /dev/i2c-0 like a user, when I'm in kernel space. Is that what I'm supposed to do, or what?

Thanks in advance,
Adrian.