+/*
+ * Open the high-level part of the SLLIN channel.
+ * This function is called by the TTY module when the
+ * SLLIN line discipline is called for. Because we are
+ * sure the tty line exists, we only have to link it to
+ * a free SLLIN channel...
+ *
+ * Called in process context serialized from other ldisc calls.
+ *
+ * This call variant preserves original functionality where
+ * slave/master can be selected by module parameter.
+ * Default is the master.
+ */
+
+static int sllin_open(struct tty_struct *tty)
+{
+ return sllin_open_common(tty, master);
+}
+
+/*
+ * Open the high-level part of the SLLIN channel.
+ * This function is called by the TTY module when the
+ * SLLIN line discipline is called for. Because we are
+ * sure the tty line exists, we only have to link it to
+ * a free SLLIN channel...
+ *
+ * Called in process context serialized from other ldisc calls.
+ *
+ * This call variant enforces slave/LIN device functionality.
+ */
+
+static int sllin_open_slave(struct tty_struct *tty)
+{
+ return sllin_open_common(tty, false);
+}
+
+