Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp62291rdb; Tue, 19 Dec 2023 09:20:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFgq56i5RahNZ3pA9GKlQmckiMzrFGoKOs5L457fKCMOUGkHg7N9WoNrAZa6nraxy8geu00 X-Received: by 2002:a17:906:418:b0:a23:4ace:5b8b with SMTP id d24-20020a170906041800b00a234ace5b8bmr2346538eja.20.1703006411503; Tue, 19 Dec 2023 09:20:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703006411; cv=none; d=google.com; s=arc-20160816; b=LwY1mpdrSgOzXWESfIo3yhdm16uCfDamRhSP6qS45BaiVcN66QIWpOfvmX95IJuMmV FDk0XDYgcA5CnGhwHljRrWv/JS877+I+Q22BvsCmZTw/rSNcBOVjinCuv6OHPwrqZIMZ WF/kOiXZOo0VDRMEh8YPfNYBEkMhfpPSmljQZTk2AH9kATkc6snho3AYpJYVTE/E+a0D 7kl0cYx6ZEQZx4LbpAlx2//bYd1Eo4DJtoGCKx8vZzficapsfvf7cQ6UQBh5uOZEuUuY FUWeg/cUFM7tT9xYM+ZNMyyvPKmh3b2woTxfWXiDx9Lp+hluqwPjklNx5BeDATSsnOOg OSrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:cc:to:from:dkim-signature; bh=ZsiNmlD3MHHl+wojDLWkdnOLAS+GCC2vUU+7h86+VQw=; fh=cU7nueyVLD6PCX143V/gcz7kaNKnsE7kxUBegEucbAs=; b=IXow0BzJoFWY1q/ml9sSG5xnc3+v338BsoaOoNgKiInC1Wu34866VliCTOZX6gSzlv L4AvhaHjRcysJ3Kj4yRKC/UNa0g9Y5SLfmg+1D7V5dpq5UhrGlDwqplqVOA4DaQOT/My bf5ZzdbeM7SRvhQCbClGPKQhz5VT8sIQoxO4XbQsQrX3QPyJ0TOmXN0WszewF0EG5mUj OJZMJYOX03dBTp6E5ZmlvLMcF+EQjA+2setjiaDQbVwS7laOTn7T2UaI7eaOHHOCJ0Z/ oyavIT+n5MuE36JDFQyHnzvO1sdYsr0QHt/v9rQdYpm7qOBwtjdmFJO7fkeFhXEfAEyH 3DTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hugovil.com header.s=x header.b=p0TX8kFA; spf=pass (google.com: domain of linux-kernel+bounces-5668-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5668-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f23-20020a170906049700b00a1d42df69bfsi2786124eja.819.2023.12.19.09.20.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 09:20:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5668-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@hugovil.com header.s=x header.b=p0TX8kFA; spf=pass (google.com: domain of linux-kernel+bounces-5668-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5668-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3802C1F27D9A for ; Tue, 19 Dec 2023 17:20:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 69A7334CEB; Tue, 19 Dec 2023 17:19:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=hugovil.com header.i=@hugovil.com header.b="p0TX8kFA" X-Original-To: linux-kernel@vger.kernel.org Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F4C037148; Tue, 19 Dec 2023 17:19:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hugovil.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hugovil.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Cc:To :From:subject:date:message-id:reply-to; bh=ZsiNmlD3MHHl+wojDLWkdnOLAS+GCC2vUU+7h86+VQw=; b=p0TX8kFAxruNP3Fxt7QzvLJggc Lv5YSnGE42ufgm/ALsF5KQyLjJPa1YXhC+ChSNueIcxL8U0Gdw868Z7FZXWMXcPvAIDMSPy//vRGK T4ejEPFbKwevFPxeHaRPsW7Hh/QCbns6muG5tI+LV3DU9PYPIcwMRt+qeSgmZiH6d8Uk=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:40128 helo=pettiford.lan) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1rFdkQ-0007Ao-O6; Tue, 19 Dec 2023 12:19:15 -0500 From: Hugo Villeneuve To: gregkh@linuxfoundation.org, jirislaby@kernel.org, jringle@gridpoint.com, kubakici@wp.pl, phil@raspberrypi.org, bo.svangard@embeddedart.se Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, hugo@hugovil.com, Hugo Villeneuve Date: Tue, 19 Dec 2023 12:18:52 -0500 Message-Id: <20231219171903.3530985-9-hugo@hugovil.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231219171903.3530985-1-hugo@hugovil.com> References: <20231219171903.3530985-1-hugo@hugovil.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Level: X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -0.0 T_SCC_BODY_TEXT_LINE No description available. Subject: [PATCH 08/18] serial: sc16is7xx: add driver name to struct uart_driver X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) From: Hugo Villeneuve Make sure that the driver name is displayed instead of "unknown" when displaying the driver infos: Before: cat /proc/tty/drivers | grep ttySC unknown /dev/ttySC 243 0-7 serial After: cat /proc/tty/drivers | grep ttySC sc16is7xx /dev/ttySC 243 0-7 serial Signed-off-by: Hugo Villeneuve --- 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 97a97a4bd71a..3fb99b6929f3 100644 --- a/drivers/tty/serial/sc16is7xx.c +++ b/drivers/tty/serial/sc16is7xx.c @@ -350,6 +350,7 @@ static DECLARE_BITMAP(sc16is7xx_lines, SC16IS7XX_MAX_DEVS); static struct uart_driver sc16is7xx_uart = { .owner = THIS_MODULE, + .driver_name = SC16IS7XX_NAME, .dev_name = "ttySC", .nr = SC16IS7XX_MAX_DEVS, }; -- 2.39.2