tty: constify of_device_id array
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick <fabf@skynet.be> Acked-by: Peter Korsgaard <peter@korsgaard.com> Acked-by: Timur Tabi <timur@tabi.org> Acked-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

orang tua
37ff5252b3
melakukan
ed0bb2323c
@@ -1473,7 +1473,7 @@ static int ucc_uart_remove(struct platform_device *ofdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct of_device_id ucc_uart_match[] = {
|
||||
static const struct of_device_id ucc_uart_match[] = {
|
||||
{
|
||||
.type = "serial",
|
||||
.compatible = "ucc_uart",
|
||||
|
Reference in New Issue
Block a user