]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: mmci: constify amba_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 23 Aug 2017 16:30:49 +0000 (22:00 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 13:03:46 +0000 (15:03 +0200)
commitd17f8cd925ad64aef5e191703f81bdcf1061ef5a
treead1cbb7025b79bed4f4afdf4deaf8ee28723186d
parent8ad171f66ed42a19a807eeb7a388be66c551f41d
mmc: mmci: 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: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.c