linux/drivers/pps/clients/pps-ldisc.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * pps-ldisc.c -- PPS line discipline
 *
 * Copyright (C) 2008	Rodolfo Giometti <[email protected]>
 */

#define pr_fmt(fmt)

#include <linux/module.h>
#include <linux/serial_core.h>
#include <linux/tty.h>
#include <linux/pps_kernel.h>
#include <linux/bug.h>

static void pps_tty_dcd_change(struct tty_struct *tty, bool active)
{}

static int (*alias_n_tty_open)(struct tty_struct *tty);

static int pps_tty_open(struct tty_struct *tty)
{}

static void (*alias_n_tty_close)(struct tty_struct *tty);

static void pps_tty_close(struct tty_struct *tty)
{}

static struct tty_ldisc_ops pps_ldisc_ops;

/*
 * Module stuff
 */

static int __init pps_tty_init(void)
{}

static void __exit pps_tty_cleanup(void)
{}

module_init();
module_exit(pps_tty_cleanup);

MODULE_ALIAS_LDISC();
MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();