mfd: db8500-prcmu: Make mfd_cell array const

mfd_add_devices() expects array of struct mfd_cell to be const.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
This commit is contained in:
Krzysztof Kozlowski 2014-05-13 12:58:41 +02:00 • committed by Lee Jones
commit 5785a97e3d

View file

@ -3112,7 +3112,7 @@ static int db8500_prcmu_register_ab8500(struct device *parent,
{
struct device_node *np;
struct resource ab8500_resource;
struct mfd_cell ab8500_cell = {
const struct mfd_cell ab8500_cell = {
.name = "ab8500-core",
.of_compatible = "stericsson,ab8500",
.id = AB8500_VERSION_AB8500,