OSDN Git Service

serial: pl010: constify amba_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 23 Aug 2017 16:47:58 +0000 (22:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 18:51:19 +0000 (20:51 +0200)
commit5337e5490fa2e6056849228335f0fb168f3b35bc
tree2a78709a101280401588a153f4bfdde88b1dfc91
parentd054b3acb71862c297b923ca24120788c40261e3
serial: pl010: constify amba_id

amba_id are not supposed to change at runtime. All functions
working with const amba_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl010.c