Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp355854lqh; Fri, 31 May 2024 03:35:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXbYHDoMXwMA0Y7IMloKjXpR1NHDruACbA0lUBZR98Mp6VDPY/s7+WJTfH6Uj+zcbrf7MGZiT5EAN91yLX8FuMHYmshiOk80Qpm+vMflw== X-Google-Smtp-Source: AGHT+IGm8w4qWgWlQM9NA299guZzvSNWJV5kldOuXVPGfxzl9OPWfESvViSYl0Xn5quV5d0HHhXX X-Received: by 2002:a05:6a20:9188:b0:1af:cdc5:dfbd with SMTP id adf61e73a8af0-1b26f11733cmr1816697637.14.1717151726492; Fri, 31 May 2024 03:35:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717151726; cv=pass; d=google.com; s=arc-20160816; b=AOfiX5FkbEQEjh4X9HDGBGL8cSXqIL7/UwIrZtYd+5j2KyqdHw7Zb15N8yqixmwCJ/ YKYMah+yewlxSwpQ10SGd4JjvSmRTBq8AWt4cbUUkKuMaWH0DrBYYbiVRstmUJRgFaBi Jch6t7LrCYrSFUWSgdz/AsgRBxg1PixID2PoDjnAUDvpxYuAU9v3U3O61q/ZIobMEJ4r 236pctXWzNNwbrGhMhvnkWtCZQtDXgMR2oZJOY0oAdJVVRSSPH+nnPXnPMgDF+6ta/uT EiFAR1+WohpttHjZAn7e8vPQh285pCNaYt/CUE/upJOvS4svp7WqyZ8LWTL7iiqwUEuh V2Kw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=LkKdFTU8/47nFwlo1mg6K6UZlplg83k3D6YVqQ5X4Yo=; fh=yimjGcaPMOsMNoCevYGGwyLNL2tzu7oNeRRr05OKgT4=; b=WqD1FpHKhTIqhYS5wIEXyF3D2xhVkyazvMX22Fe2flh4fO450P32eUp1tmwyRRgPix EE1ySzlp7Gqxq6vmE6stFD5a8u/Viwmwz9kkfqir6yfCh2IsV3ehfPecUdCCeoSEIHQX 5/KVdiMheLja+PQrbiaGi8uQOHqPuKMNo+T/QzXA6s8OrCh830I7jb1i8/NNrWc9D8b0 xySU394M1jCpBeMzem7ZNxMxnTQHG91DEzT1v/bzU6TgTk0lYf6z+2RPmXRDicyCq0+j T9Og/dzJxrjWyp/WiY+Ba+OsOatQiXB3nkWT6R5oSh+WjFXcGDDWCYjeg+7scEj/6MkW 0xOg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=zonque.org); spf=pass (google.com: domain of linux-kernel+bounces-196670-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196670-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-70248d46346si952573b3a.157.2024.05.31.03.35.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 03:35:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196670-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=zonque.org); spf=pass (google.com: domain of linux-kernel+bounces-196670-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196670-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 90247B21283 for ; Fri, 31 May 2024 10:26:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9866D155A34; Fri, 31 May 2024 10:26:19 +0000 (UTC) Received: from mail.bugwerft.de (mail.bugwerft.de [46.23.86.59]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E10C53DBB7; Fri, 31 May 2024 10:26:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.23.86.59 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717151179; cv=none; b=J9wROk9KdZ2Tb+mSkFtKf/k3Yx6dP7d+CqBLub8FYABolsCUG/bb72ZGp0lR8PJFYOZBXOYY9pymVdhz5yGEX+RigYoaxFqFdGq8u8N9NzYvHHJIS5j95w+OgfC+ncPICwD/FdrPMb1/RuusuWRqHNGMlOxRD7ifHYu295kAM2A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717151179; c=relaxed/simple; bh=PTMlr5w/6kBEWcOKgHe858k6nFFyhwJ1CCKOVUOJ9kM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sY8t9+DIcQIAZ79rC28Gwpqk9MB8VxR7sX50Ql60bm4m6TI6yRLxEMNBwMPnVJqZqoukWWkMiOVGiC6rlfPfRq44dn/uRA8JUsM87JgLzf8EqpxcMnKcCPny20UPcCEII9KebqeSgmc5Fd65WtHGvYWY5kRWuF/L4We5KMQYBhY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zonque.org; spf=pass smtp.mailfrom=zonque.org; arc=none smtp.client-ip=46.23.86.59 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zonque.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zonque.org Received: from hq-00595.fritz.box (unknown [178.19.214.146]) by mail.bugwerft.de (Postfix) with ESMTPSA id 0B8D52806FF; Fri, 31 May 2024 10:20:06 +0000 (UTC) From: Daniel Mack To: gregkh@linuxfoundation.org, hvilleneuve@dimonoff.com Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Daniel Mack Subject: [PATCH] serial: sc16is7xx: set driver name Date: Fri, 31 May 2024 12:19:59 +0200 Message-ID: <20240531101959.181457-1-daniel@zonque.org> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Set the drv_name field of the driver struct so that the tty core registers a procfs entry for it. This is useful for debugging. Signed-off-by: Daniel Mack --- drivers/tty/serial/sc16is7xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c index bf0065d1c8e9..308edbacda7b 100644 --- a/drivers/tty/serial/sc16is7xx.c +++ b/drivers/tty/serial/sc16is7xx.c @@ -351,6 +351,7 @@ static struct uart_driver sc16is7xx_uart = { .owner = THIS_MODULE, .driver_name = SC16IS7XX_NAME, .dev_name = "ttySC", + .driver_name = SC16IS7XX_NAME, .nr = SC16IS7XX_MAX_DEVS, }; -- 2.45.1