Commit bc775eac authored by Grant Likely's avatar Grant Likely

[POWERPC] mpc5200: Fix unterminated of_device_id table

If CONFIG_PPC_MPC5121 is not set, then the of_device_id table for the
mpc5200 serial driver will not get terminated with a NULL entry.
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 6c39103c
...@@ -1221,8 +1221,8 @@ static struct of_device_id mpc52xx_uart_of_match[] = { ...@@ -1221,8 +1221,8 @@ static struct of_device_id mpc52xx_uart_of_match[] = {
#endif #endif
#ifdef CONFIG_PPC_MPC512x #ifdef CONFIG_PPC_MPC512x
{ .compatible = "fsl,mpc5121-psc-uart", .data = &mpc512x_psc_ops, }, { .compatible = "fsl,mpc5121-psc-uart", .data = &mpc512x_psc_ops, },
{},
#endif #endif
{},
}; };
static int __devinit static int __devinit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment