Staging: bcm: Remove typedef for _ST_TIME_ELAPSED_ and call directly.
[deliverable/linux.git] / drivers / staging / bcm / Bcmchar.c
index f3762163b5aaeaeb60553cea420bb64ce0903376..6cf1e5bb03e1bc1afc23ca9a4427d7ab8054b664 100644 (file)
@@ -1977,19 +1977,19 @@ cntrlEnd:
        break;
 
        case IOCTL_BCM_TIME_SINCE_NET_ENTRY: {
-               ST_TIME_ELAPSED stTimeElapsedSinceNetEntry = {0};
+               struct bcm_time_elapsed stTimeElapsedSinceNetEntry = {0};
 
                BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL, "IOCTL_BCM_TIME_SINCE_NET_ENTRY called");
 
                if (copy_from_user(&IoBuffer, argp, sizeof(IOCTL_BUFFER)))
                        return -EFAULT;
 
-               if (IoBuffer.OutputLength < sizeof(ST_TIME_ELAPSED))
+               if (IoBuffer.OutputLength < sizeof(struct bcm_time_elapsed))
                        return -EINVAL;
 
                stTimeElapsedSinceNetEntry.ul64TimeElapsedSinceNetEntry = get_seconds() - Adapter->liTimeSinceLastNetEntry;
 
-               if (copy_to_user(IoBuffer.OutputBuffer, &stTimeElapsedSinceNetEntry, sizeof(ST_TIME_ELAPSED)))
+               if (copy_to_user(IoBuffer.OutputBuffer, &stTimeElapsedSinceNetEntry, sizeof(struct bcm_time_elapsed)))
                        return -EFAULT;
        }
        break;
This page took 0.026507 seconds and 5 git commands to generate.