aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hamradio
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/hamradio')
-rw-r--r--drivers/net/hamradio/6pack.c2
-rw-r--r--drivers/net/hamradio/mkiss.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/hamradio/6pack.c b/drivers/net/hamradio/6pack.c
index ffc937f5d15d..0f501d2ca935 100644
--- a/drivers/net/hamradio/6pack.c
+++ b/drivers/net/hamradio/6pack.c
@@ -775,7 +775,7 @@ static int sixpack_ioctl(struct tty_struct *tty, struct file *file,
775 return err; 775 return err;
776} 776}
777 777
778static struct tty_ldisc sp_ldisc = { 778static struct tty_ldisc_ops sp_ldisc = {
779 .owner = THIS_MODULE, 779 .owner = THIS_MODULE,
780 .magic = TTY_LDISC_MAGIC, 780 .magic = TTY_LDISC_MAGIC,
781 .name = "6pack", 781 .name = "6pack",
diff --git a/drivers/net/hamradio/mkiss.c b/drivers/net/hamradio/mkiss.c
index b8740e6a5cec..3249df5e0f17 100644
--- a/drivers/net/hamradio/mkiss.c
+++ b/drivers/net/hamradio/mkiss.c
@@ -971,7 +971,7 @@ out:
971 mkiss_put(ax); 971 mkiss_put(ax);
972} 972}
973 973
974static struct tty_ldisc ax_ldisc = { 974static struct tty_ldisc_ops ax_ldisc = {
975 .owner = THIS_MODULE, 975 .owner = THIS_MODULE,
976 .magic = TTY_LDISC_MAGIC, 976 .magic = TTY_LDISC_MAGIC,
977 .name = "mkiss", 977 .name = "mkiss",