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

« back to all changes in this revision

Viewing changes to drivers/usb/serial/ssu100.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:
439
439
 
440
440
 
441
441
 
442
 
static int ssu100_ioctl(struct tty_struct *tty, struct file *file,
 
442
static int ssu100_ioctl(struct tty_struct *tty,
443
443
                    unsigned int cmd, unsigned long arg)
444
444
{
445
445
        struct usb_serial_port *port = tty->driver_data;
484
484
        return ssu100_initdevice(serial->dev);
485
485
}
486
486
 
487
 
static int ssu100_tiocmget(struct tty_struct *tty, struct file *file)
 
487
static int ssu100_tiocmget(struct tty_struct *tty)
488
488
{
489
489
        struct usb_serial_port *port = tty->driver_data;
490
490
        struct usb_device *dev = port->serial->dev;
517
517
        return r;
518
518
}
519
519
 
520
 
static int ssu100_tiocmset(struct tty_struct *tty, struct file *file,
 
520
static int ssu100_tiocmset(struct tty_struct *tty,
521
521
                           unsigned int set, unsigned int clear)
522
522
{
523
523
        struct usb_serial_port *port = tty->driver_data;