From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 03/11] serial: sunsab: constify uart_ops structures Date: Sun, 13 Aug 2017 20:12:43 -0700 (PDT) Message-ID: <20170813.201243.113370942135429593.davem@davemloft.net> References: <1502605310-4314-1-git-send-email-Julia.Lawall@lip6.fr> <1502605310-4314-4-git-send-email-Julia.Lawall@lip6.fr> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1502605310-4314-4-git-send-email-Julia.Lawall@lip6.fr> Sender: linux-kernel-owner@vger.kernel.org To: Julia.Lawall@lip6.fr Cc: bhumirks@gmail.com, kernel-janitors@vger.kernel.org, gregkh@linuxfoundation.org, jslaby@suse.com, sparclinux@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-serial@vger.kernel.org From: Julia Lawall Date: Sun, 13 Aug 2017 08:21:42 +0200 > These uart_ops structures are only stored in the ops field of a > uart_port structure and this fields is const, so the uart_ops > structures can also be const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Acked-by: David S. Miller