kill i_cdev and struct char_device
From: Roman Zippel <[email protected]>
On Sat, 8 Feb 2003 [email protected] wrote:
> [the whole purpose of struct block_device is to provide the link > between a device number and a struct block_device_operations. > struct char_device has no such function, indeed, no function at all]
Why do you think, the same shouldn't be done for char_device? You are removing the wrong infrastructure, check how block_dev.c changed between 2.4 and 2.5 and the same still needs to be done for char_dev.c.
Maybe. Maybe not.
I don't think such things will happen before 2.6. It is very easy to add this code again for 2.7 if desired. Today it is just a lot of dead code.
Andries
(And for me the question is still open whether we really want something like struct char_device for 2.7.)