X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Flinux%2Ftty_ldisc.h;h=455a0d7bf2209665adc5c09bb8f4c2803edc3f49;hb=1cf0209c431fa7790253c532039d53b0773193aa;hp=fb79dd8d1537fd5e5ed06ac0ec813421e1298975;hpb=d65c8f312c7a7e0b14db8f361cc692a263025bf5;p=~andy%2Flinux diff --git a/include/linux/tty_ldisc.h b/include/linux/tty_ldisc.h index fb79dd8d153..455a0d7bf22 100644 --- a/include/linux/tty_ldisc.h +++ b/include/linux/tty_ldisc.h @@ -100,16 +100,14 @@ * seek to perform this action quickly but should wait until * any pending driver I/O is completed. * - * void (*dcd_change)(struct tty_struct *tty, unsigned int status, - * struct pps_event_time *ts) + * void (*dcd_change)(struct tty_struct *tty, unsigned int status) * - * Tells the discipline that the DCD pin has changed its status and - * the relative timestamp. Pointer ts cannot be NULL. + * Tells the discipline that the DCD pin has changed its status. + * Used exclusively by the N_PPS (Pulse-Per-Second) line discipline. */ #include #include -#include #include struct tty_ldisc_ops { @@ -144,8 +142,7 @@ struct tty_ldisc_ops { void (*receive_buf)(struct tty_struct *, const unsigned char *cp, char *fp, int count); void (*write_wakeup)(struct tty_struct *); - void (*dcd_change)(struct tty_struct *, unsigned int, - struct pps_event_time *); + void (*dcd_change)(struct tty_struct *, unsigned int); struct module *owner;