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

« back to all changes in this revision

Viewing changes to drivers/net/wan/pc300_tty.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:
131
131
static void cpc_tty_signal_off(pc300dev_t *pc300dev, unsigned char);
132
132
static void cpc_tty_signal_on(pc300dev_t *pc300dev, unsigned char);
133
133
 
134
 
static int pc300_tiocmset(struct tty_struct *, struct file *,
135
 
                          unsigned int, unsigned int);
136
 
static int pc300_tiocmget(struct tty_struct *, struct file *);
 
134
static int pc300_tiocmset(struct tty_struct *, unsigned int, unsigned int);
 
135
static int pc300_tiocmget(struct tty_struct *);
137
136
 
138
137
/* functions called by PC300 driver */
139
138
void cpc_tty_init(pc300dev_t *dev);
543
542
        return 0;
544
543
545
544
 
546
 
static int pc300_tiocmset(struct tty_struct *tty, struct file *file,
 
545
static int pc300_tiocmset(struct tty_struct *tty,
547
546
                          unsigned int set, unsigned int clear)
548
547
{
549
548
        st_cpc_tty_area    *cpc_tty; 
570
569
        return 0;
571
570
}
572
571
 
573
 
static int pc300_tiocmget(struct tty_struct *tty, struct file *file)
 
572
static int pc300_tiocmget(struct tty_struct *tty)
574
573
{
575
574
        unsigned int result;
576
575
        unsigned char status;