Re: [PATCH 20/23] ARM: i.MX: gpt: Add i.MX7 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 16 January 2017 11:51:05 Sascha Hauer wrote:
> [...]
> diff --git a/arch/arm/mach-imx/clocksource.c b/arch/arm/mach-imx/clocksource.c
> index 8d00bbb3f..b1f59aae2 100644 
> --- a/arch/arm/mach-imx/clocksource.c
> +++ b/arch/arm/mach-imx/clocksource.c
> @@ -155,8 +155,10 @@ static __maybe_unused struct of_device_id
> imx_gpt_dt_ids[] = { .compatible = "fsl,imx6ul-gpt",
>  		.data = &regs_imx31,
>  	}, {
> -		/* sentinel */
> -	}
> +		.compatible = "fsl,imx7d-gpt",
> +		.data = &regs_imx31,
> +	}, {
> +	},
>  };
>
>  static struct platform_device_id imx_gpt_ids[] = {

Hmm, maybe we should keep the "/* sentinel */" to make clear this last entry
in the table is required.

Cheers,
Juergen

-- 
Pengutronix e.K.                             | Juergen Borleis             |
Industrial Linux Solutions                   | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux