vfio: platform: constify amba_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 23 Aug 2017 17:17:15 +0000 (22:47 +0530)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 30 Aug 2017 20:03:42 +0000 (14:03 -0600)
commit417fb50d5516e8526769c16ff5b92de47adbe727
tree95184e91a17b89957c53425a192f20d8b2ffeb20
parent6586b561a91cd80a91c8f107ed0d144feb3eadc2
vfio: platform: 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: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/platform/vfio_amba.c