Driver Core: misc: add nodename support for misc devices.
[safe/jmp/linux-2.6] / include / linux / miscdevice.h
index beb6ec9..0521177 100644 (file)
@@ -41,6 +41,7 @@ struct miscdevice  {
        struct list_head list;
        struct device *parent;
        struct device *this_device;
+       const char *devnode;
 };
 
 extern int misc_register(struct miscdevice * misc);