Re: [PATCH 2/4] drivers: firmware: psci: remove duplicate const qualifier

From: Jisheng Zhang
Date: Mon Apr 25 2016 - 06:37:52 EST


Hi Eric,

On Mon, 25 Apr 2016 10:47:55 +0100 Eric Engestrom wrote:

> Signed-off-by: Eric Engestrom <eric.engestrom@xxxxxxxxxx>
> ---
> drivers/firmware/psci.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/firmware/psci.c b/drivers/firmware/psci.c
> index 11bfee8..0ab477ba 100644
> --- a/drivers/firmware/psci.c
> +++ b/drivers/firmware/psci.c
> @@ -563,7 +563,7 @@ static int __init psci_0_1_init(struct device_node *np)
> return err;
> }
>
> -static const struct of_device_id const psci_of_match[] __initconst = {
> +static const struct of_device_id psci_of_match[] __initconst = {

A previous resend patch ;)

http://lists.infradead.org/pipermail/linux-arm-kernel/2016-March/417068.html

And IIRC, the maintainer has merged it.

> { .compatible = "arm,psci", .data = psci_0_1_init},
> { .compatible = "arm,psci-0.2", .data = psci_0_2_init},
> { .compatible = "arm,psci-1.0", .data = psci_0_2_init},