* ron minnich rminnich@gmail.com [080215 19:23]:
Signed-off-by: Ronald G. Minnich rminnich@gmail.com
--- include/device/device.h (revision 600) +++ include/device/device.h (working copy) @@ -195,6 +195,9 @@ struct device * next; /* chain of all devices */
struct device_path path;
- /* note there is a device id maintained here. This covers the special case
* of default_device_operations, which has an id of zero.
*/
Uh, when exactly is that special case used?
@@ -268,7 +271,7 @@ struct device * dev_find_class (unsigned int class, struct device * from); struct device * dev_find_slot (unsigned int bus, unsigned int devfn); struct device * dev_find_slot_on_smbus (unsigned int bus, unsigned int addr); -void default_device_constructor(struct device *dev, struct constructor *constructor); +void default_device_constructor(struct device *dev, struct device_operations *constructor);
default_device_operations?
I think this is the way to go.
Acked-by: Stefan Reinauer stepan@coresystems.de