summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/Bcmchar.c
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-05-26 16:05:01 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-05 04:08:10 (GMT)
commit0b3edf760a56cf5372d2dafa35b400561ddc0eb0 (patch)
treeead6afb5efb1d1b788440775464ac5aee5a8cc7b /drivers/staging/bcm/Bcmchar.c
parent774bea8314c3fa59a977e64114286d6e3341b7cc (diff)
downloadlinux-fsl-qoriq-0b3edf760a56cf5372d2dafa35b400561ddc0eb0.tar.xz
Staging: bcm: Remove typedef for _packet_info and call directly.
This patch removes typedef for _packet_info, changes the name of the struct from _packet_info to bcm_packet_info. In addition, any calls to the following typedefs "PacketInfo, _packet_info" are changed to call the struct directly. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm/Bcmchar.c')
-rw-r--r--drivers/staging/bcm/Bcmchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c
index 03dc2b0..8d4052a 100644
--- a/drivers/staging/bcm/Bcmchar.c
+++ b/drivers/staging/bcm/Bcmchar.c
@@ -971,7 +971,7 @@ cntrlEnd:
break;
case IOCTL_GET_PACK_INFO:
- if (copy_to_user(argp, &Adapter->PackInfo, sizeof(PacketInfo)*NO_OF_QUEUES))
+ if (copy_to_user(argp, &Adapter->PackInfo, sizeof(struct bcm_packet_info)*NO_OF_QUEUES))
return -EFAULT;
Status = STATUS_SUCCESS;
break;