* [PATCH 04/16] mfd: db8500-prcmu: Make mfd_cell array const [not found] <1399978733-13662-1-git-send-email-k.kozlowski@samsung.com> @ 2014-05-13 10:58 ` Krzysztof Kozlowski 2014-05-16 13:37 ` Linus Walleij 2014-05-19 8:24 ` Lee Jones 0 siblings, 2 replies; 3+ messages in thread From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw) To: linux-arm-kernel mfd_add_devices() expects array of struct mfd_cell to be const. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Cc: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: linux-arm-kernel at lists.infradead.org --- drivers/mfd/db8500-prcmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index 7694e0700d34..93d2cdcc8aa9 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c @@ -3115,7 +3115,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, -- 1.9.1 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 04/16] mfd: db8500-prcmu: Make mfd_cell array const 2014-05-13 10:58 ` [PATCH 04/16] mfd: db8500-prcmu: Make mfd_cell array const Krzysztof Kozlowski @ 2014-05-16 13:37 ` Linus Walleij 2014-05-19 8:24 ` Lee Jones 1 sibling, 0 replies; 3+ messages in thread From: Linus Walleij @ 2014-05-16 13:37 UTC (permalink / raw) To: linux-arm-kernel On Tue, May 13, 2014 at 12:58 PM, Krzysztof Kozlowski <k.kozlowski@samsung.com> wrote: > mfd_add_devices() expects array of struct mfd_cell to be const. > > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> > Cc: Mattias Nilsson <mattias.i.nilsson@stericsson.com> > Cc: Linus Walleij <linus.walleij@linaro.org> > Cc: linux-arm-kernel at lists.infradead.org Acked-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 04/16] mfd: db8500-prcmu: Make mfd_cell array const 2014-05-13 10:58 ` [PATCH 04/16] mfd: db8500-prcmu: Make mfd_cell array const Krzysztof Kozlowski 2014-05-16 13:37 ` Linus Walleij @ 2014-05-19 8:24 ` Lee Jones 1 sibling, 0 replies; 3+ messages in thread From: Lee Jones @ 2014-05-19 8:24 UTC (permalink / raw) To: linux-arm-kernel On Tue, 13 May 2014, Krzysztof Kozlowski wrote: > mfd_add_devices() expects array of struct mfd_cell to be const. > > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> > Cc: Mattias Nilsson <mattias.i.nilsson@stericsson.com> > Cc: Linus Walleij <linus.walleij@linaro.org> > Cc: linux-arm-kernel at lists.infradead.org > --- > drivers/mfd/db8500-prcmu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-19 8:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1399978733-13662-1-git-send-email-k.kozlowski@samsung.com>
2014-05-13 10:58 ` [PATCH 04/16] mfd: db8500-prcmu: Make mfd_cell array const Krzysztof Kozlowski
2014-05-16 13:37 ` Linus Walleij
2014-05-19 8:24 ` Lee Jones
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox