]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
i2c: nomadik: constify amba_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 23 Aug 2017 17:20:50 +0000 (22:50 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 29 Aug 2017 20:35:14 +0000 (22:35 +0200)
commit2601a0032f0ef5a0592a8ee4e4e12bb00ec19aeb
tree13a6fc96a7b6c62bfb72e56bab82cc56c4dbb4f4
parenta89c22d59eee15fad0ee740308dae94668d12330
i2c: nomadik: 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: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-nomadik.c