diff options
author | Jesper Nilsson <jespern@axis.com> | 2010-10-28 12:04:55 +0200 |
---|---|---|
committer | Jesper Nilsson <jespern@axis.com> | 2010-10-28 12:13:26 +0200 |
commit | 94479c017b58f69e2304d88c2826ba445cd4cd99 (patch) | |
tree | 930dd4a6cf0f21f7d314800ef82d7bc93207df35 | |
parent | b5153163ed580e00c67bdfecb02b2e3843817b3e (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>
-rw-r--r-- | drivers/serial/crisv10.c | 2 |
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, /* This is the ioctl to get RS485 data from user-space */ if (copy_to_user((struct serial_rs485 *) arg, rs485data, - sizeof(serial_rs485))) + sizeof(struct serial_rs485))) return -EFAULT; break; } |