Merge branch 'work.tty-ioctl' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[sfrench/cifs-2.6.git] / drivers / usb / serial / option.c
index e72ad9f81c73973b86bd7992c0f331039a8192bf..e24ff16d4147754b382595dc401fa79bf815ac6b 100644 (file)
@@ -1966,7 +1966,8 @@ static struct usb_serial_driver option_1port_device = {
        .chars_in_buffer   = usb_wwan_chars_in_buffer,
        .tiocmget          = usb_wwan_tiocmget,
        .tiocmset          = usb_wwan_tiocmset,
-       .ioctl             = usb_wwan_ioctl,
+       .get_serial        = usb_wwan_get_serial_info,
+       .set_serial        = usb_wwan_set_serial_info,
        .attach            = option_attach,
        .release           = option_release,
        .port_probe        = usb_wwan_port_probe,