\r
case ECS_IOCTL_GET_PLATFORM_DATA: \r
DBG("%s:ECS_IOCTL_GET_PLATFORM_DATA start\n",__func__);\r
- memcpy(compass.m_layout, sensor->pdata->m_layout, sizeof(sensor->pdata->m_layout));\r
- memcpy(compass.project_name, sensor->pdata->project_name, sizeof(sensor->pdata->project_name));\r
+ // memcpy(compass.m_layout, sensor->pdata->m_layout, sizeof(sensor->pdata->m_layout));\r
+ // memcpy(compass.project_name, sensor->pdata->project_name, sizeof(sensor->pdata->project_name));\r
ret = copy_to_user(argp, &compass, sizeof(compass));\r
if(ret < 0)\r
{\r
\r
case ECS_IOCTL_GET_PLATFORM_DATA: \r
DBG("%s:ECS_IOCTL_GET_PLATFORM_DATA start\n",__func__);\r
- memcpy(compass.m_layout, sensor->pdata->m_layout, sizeof(sensor->pdata->m_layout));\r
- memcpy(compass.project_name, sensor->pdata->project_name, sizeof(sensor->pdata->project_name));\r
+ //memcpy(compass.m_layout, sensor->pdata->m_layout, sizeof(sensor->pdata->m_layout));\r
+ //memcpy(compass.project_name, sensor->pdata->project_name, sizeof(sensor->pdata->project_name));\r
ret = copy_to_user(argp, &compass, sizeof(compass));\r
if(ret < 0)\r
{\r
break;\r
case ECS_IOCTL_GET_PLATFORM_DATA: \r
DBG("%s:ECS_IOCTL_GET_PLATFORM_DATA start\n",__func__);\r
- memcpy(compass.m_layout, sensor->pdata->m_layout, sizeof(sensor->pdata->m_layout));\r
- memcpy(compass.project_name, sensor->pdata->project_name, sizeof(sensor->pdata->project_name));\r
+ //memcpy(compass.m_layout, sensor->pdata->m_layout, sizeof(sensor->pdata->m_layout));\r
+ //memcpy(compass.project_name, sensor->pdata->project_name, sizeof(sensor->pdata->project_name));\r
ret = copy_to_user(argp, &compass, sizeof(compass));\r
if(ret < 0)\r
{\r