~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/usb/serial/spcp8x5.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
576
576
        return 0;
577
577
}
578
578
 
579
 
static int spcp8x5_ioctl(struct tty_struct *tty, struct file *file,
 
579
static int spcp8x5_ioctl(struct tty_struct *tty,
580
580
                         unsigned int cmd, unsigned long arg)
581
581
{
582
582
        struct usb_serial_port *port = tty->driver_data;
595
595
        return -ENOIOCTLCMD;
596
596
}
597
597
 
598
 
static int spcp8x5_tiocmset(struct tty_struct *tty, struct file *file,
 
598
static int spcp8x5_tiocmset(struct tty_struct *tty,
599
599
                            unsigned int set, unsigned int clear)
600
600
{
601
601
        struct usb_serial_port *port = tty->driver_data;
618
618
        return spcp8x5_set_ctrlLine(port->serial->dev, control , priv->type);
619
619
}
620
620
 
621
 
static int spcp8x5_tiocmget(struct tty_struct *tty, struct file *file)
 
621
static int spcp8x5_tiocmget(struct tty_struct *tty)
622
622
{
623
623
        struct usb_serial_port *port = tty->driver_data;
624
624
        struct spcp8x5_private *priv = usb_get_serial_port_data(port);