diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-05-08 00:36:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 11:15:24 -0700 |
commit | b81cc310f1309f6090a5655af1fe5831ded53233 (patch) | |
tree | 9897fa9dab4f446ab6703783a34517398947e212 /drivers/char/cyclades.c | |
parent | cff9494fadb09e851b66096e3fd6fc08721bd683 (diff) | |
download | kernel_samsung_smdk4412-b81cc310f1309f6090a5655af1fe5831ded53233.zip kernel_samsung_smdk4412-b81cc310f1309f6090a5655af1fe5831ded53233.tar.gz kernel_samsung_smdk4412-b81cc310f1309f6090a5655af1fe5831ded53233.tar.bz2 |
Char: cyclades, unexport struct cyclades_card
Do not export internal card data to userspace. cytune doesn't use this
anyway.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/cyclades.c')
-rw-r--r-- | drivers/char/cyclades.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c index 249f443..1b4ff13 100644 --- a/drivers/char/cyclades.c +++ b/drivers/char/cyclades.c @@ -4049,14 +4049,6 @@ cy_ioctl(struct tty_struct *tty, struct file *file, case CYGETRTSDTR_INV: ret_val = info->rtsdtr_inv; break; - case CYGETCARDINFO: - if (copy_to_user(argp, &cy_card[info->card], - sizeof(struct cyclades_card))) { - ret_val = -EFAULT; - break; - } - ret_val = 0; - break; case CYGETCD1400VER: ret_val = info->chip_rev; break; |