]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
serial: sh-sci: Remove plat_sci_port.flags
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 6 May 2026 12:46:43 +0000 (14:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 May 2026 14:56:08 +0000 (16:56 +0200)
The last setter of p->flags was removed in commit 37744feebc086908
("sh: remove sh5 support") in v5.8.

Link: https://lore.kernel.org/CAMuHMdXs94k3-7YD-yO7p2=+u8waYGAz8mpP5LDbMf3szt4V-w@mail.gmail.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://patch.msgid.link/20260506124643.128021-1-geert+renesas@glider.be
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c
include/linux/serial_sci.h

index 6c819b6b24258d369a13fcaf2781155b1283c280..a35230d57540384c270dcc61241760d83a861e4d 100644 (file)
@@ -3369,7 +3369,7 @@ static int sci_init_single(struct platform_device *dev,
        }
 
        port->type              = SCI_PUBLIC_PORT_ID(p->type);
-       port->flags             = UPF_FIXED_PORT | UPF_BOOT_AUTOCONF | p->flags;
+       port->flags             = UPF_FIXED_PORT | UPF_BOOT_AUTOCONF;
        port->fifosize          = sci_port->params->fifosize;
 
        if (p->type == PORT_SCI && !dev->dev.of_node) {
index 0f2f50b8d28e27434366ce2301ecc2e8cc682803..36c795d61f7e84579921363f690b59cf1c286683 100644 (file)
@@ -51,7 +51,6 @@ struct plat_sci_port_ops {
  */
 struct plat_sci_port {
        unsigned int    type;                   /* SCI / SCIF / IRDA / HSCIF */
-       upf_t           flags;                  /* UPF_* flags */
 
        unsigned int    sampling_rate;
        unsigned int    scscr;                  /* SCSCR initialization */