struct class_device {
  struct list_head node;

  struct kobject   kobj;
  struct class    *class;
  dev_t            devt;
  struct class_device_attribute *devt_attr;
  struct device   *dev;
  void            *class_data;

  char class_id[BUS_ID_SIZE];
};