1. kgsl_driver定义
/*** struct kgsl_driver - main container for global KGSL things*/
struct kgsl_driver {// Character device structstruct cdev cdev;dev_t major;struct class *class;struct device virtdev;struct kobject *ptkobj;struct kobject *prockobj;// Ar…