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

« back to all changes in this revision

Viewing changes to drivers/usb/serial/mos7840.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:
1644
1644
        }
1645
1645
}
1646
1646
 
1647
 
static int mos7840_tiocmget(struct tty_struct *tty, struct file *file)
 
1647
static int mos7840_tiocmget(struct tty_struct *tty)
1648
1648
{
1649
1649
        struct usb_serial_port *port = tty->driver_data;
1650
1650
        struct moschip_port *mos7840_port;
1674
1674
        return result;
1675
1675
}
1676
1676
 
1677
 
static int mos7840_tiocmset(struct tty_struct *tty, struct file *file,
 
1677
static int mos7840_tiocmset(struct tty_struct *tty,
1678
1678
                            unsigned int set, unsigned int clear)
1679
1679
{
1680
1680
        struct usb_serial_port *port = tty->driver_data;
2235
2235
 *      this function handles any ioctl calls to the driver
2236
2236
 *****************************************************************************/
2237
2237
 
2238
 
static int mos7840_ioctl(struct tty_struct *tty, struct file *file,
 
2238
static int mos7840_ioctl(struct tty_struct *tty,
2239
2239
                         unsigned int cmd, unsigned long arg)
2240
2240
{
2241
2241
        struct usb_serial_port *port = tty->driver_data;