#define DRIVER_DESC "RGA Device Driver"\r
#define DRIVER_NAME "rga"\r
\r
-#define RGA_VERSION "1.001"\r
+#define RGA_VERSION "1.002"\r
\r
ktime_t rga_start;\r
ktime_t rga_end;\r
\r
int rga_num = 0;\r
\r
-rga_session *session_global;\r
+rga_session *rga_session_global;\r
\r
struct rga_drvdata {\r
struct miscdevice miscdev;\r
\r
mutex_lock(&rga_service.mutex);\r
\r
- session = (rga_session *)session_global;\r
+ session = (rga_session *)rga_session_global;\r
\r
if (NULL == session)\r
{\r
\r
file->private_data = (void *)session;\r
\r
- session_global = session;\r
+ rga_session_global = session;\r
\r
//DBG("*** rga dev opened by pid %d *** \n", session->pid);\r
return nonseekable_open(inode, file);\r