aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorJesper Nilsson <jespern@axis.com>2010-10-28 06:04:55 -0400
committerJesper Nilsson <jespern@axis.com>2010-10-28 06:13:26 -0400
commit94479c017b58f69e2304d88c2826ba445cd4cd99 (patch)
tree930dd4a6cf0f21f7d314800ef82d7bc93207df35 /drivers/serial
parentb5153163ed580e00c67bdfecb02b2e3843817b3e (diff)
Add missing "struct" to in sizeof.
Lead to a compile error when the struct was no longer typedef'd. Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/crisv10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/crisv10.c b/drivers/serial/crisv10.c
index c856905bb3bd..20402c604c10 100644
--- a/drivers/serial/crisv10.c
+++ b/drivers/serial/crisv10.c
@@ -3731,7 +3731,7 @@ rs_ioctl(struct tty_struct *tty, struct file * file,
3731 /* This is the ioctl to get RS485 data from user-space */ 3731 /* This is the ioctl to get RS485 data from user-space */
3732 if (copy_to_user((struct serial_rs485 *) arg, 3732 if (copy_to_user((struct serial_rs485 *) arg,
3733 rs485data, 3733 rs485data,
3734 sizeof(serial_rs485))) 3734 sizeof(struct serial_rs485)))
3735 return -EFAULT; 3735 return -EFAULT;
3736 break; 3736 break;
3737 } 3737 }