diff options
Diffstat (limited to 'drivers/misc/cclogic/cclogic-class.h')
-rw-r--r-- | drivers/misc/cclogic/cclogic-class.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/misc/cclogic/cclogic-class.h b/drivers/misc/cclogic/cclogic-class.h new file mode 100644 index 000000000000..f9b664c4b339 --- /dev/null +++ b/drivers/misc/cclogic/cclogic-class.h @@ -0,0 +1,19 @@ +#ifndef __CCLOGIC_CLASS_H__ +#define __CCLOGIC_CLASS_H__ + +struct cclogic_class_dev{ + const char *name; + struct device *dev; + int index; + unsigned int support; + struct device_attribute device_supported_modes_attr; + struct device_attribute device_mode_attr; + struct device_attribute device_power_role_attr; + struct device_attribute device_data_role_attr; +}; + +extern int cclogic_class_register(struct cclogic_class_dev *dev); +extern void cclogic_class_unregister(struct cclogic_class_dev *dev); +extern void cclogic_class_update_state(struct cclogic_class_dev *cdev); + +#endif |