Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751404AbdH1S24 (ORCPT ); Mon, 28 Aug 2017 14:28:56 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:35622 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750735AbdH1S2y (ORCPT ); Mon, 28 Aug 2017 14:28:54 -0400 From: Bhumika Goyal To: julia.lawall@lip6.fr, davem@davemloft.net, gregkh@linuxfoundation.org, jslaby@suse.com, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Bhumika Goyal Subject: [PATCH] sparc64: vcc: make ktermios const Date: Mon, 28 Aug 2017 23:58:44 +0530 Message-Id: <1503944924-28141-1-git-send-email-bhumirks@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 678 Lines: 22 Make this const as it is not modified anywhere. Signed-off-by: Bhumika Goyal --- drivers/tty/vcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/vcc.c b/drivers/tty/vcc.c index 5e60817..f7e07e1 100644 --- a/drivers/tty/vcc.c +++ b/drivers/tty/vcc.c @@ -102,7 +102,7 @@ struct vcc_port { * add anything that will cause echoing or we'll go into recursive * loop echoing chars back and forth with the console drivers. */ -static struct ktermios vcc_tty_termios = { +static const struct ktermios vcc_tty_termios = { .c_iflag = IGNBRK | IGNPAR, .c_oflag = OPOST, .c_cflag = B38400 | CS8 | CREAD | HUPCL, -- 1.9.1