summaryrefslogtreecommitdiff
path: root/drivers/serial/mpc52xx_uart.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2008-04-29 06:40:37 -0600
committerGrant Likely <grant.likely@secretlab.ca>2008-04-29 07:16:18 -0600
commitbc775eac63c16dbcfabc4c6e949c0228edf3e11f (patch)
treebe98a04a66f128217c0fa48183177456c3a6261e /drivers/serial/mpc52xx_uart.c
parent6c39103ce5192bdb2195f3daab7323dfa44fb52e (diff)
downloadkernel-common-bc775eac63c16dbcfabc4c6e949c0228edf3e11f.tar.gz
kernel-common-bc775eac63c16dbcfabc4c6e949c0228edf3e11f.tar.bz2
kernel-common-bc775eac63c16dbcfabc4c6e949c0228edf3e11f.zip
[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: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/serial/mpc52xx_uart.c')
-rw-r--r--drivers/serial/mpc52xx_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/mpc52xx_uart.c b/drivers/serial/mpc52xx_uart.c
index d93b3578c5e2..7a3625f52a03 100644
--- a/drivers/serial/mpc52xx_uart.c
+++ b/drivers/serial/mpc52xx_uart.c
@@ -1221,8 +1221,8 @@ static struct of_device_id mpc52xx_uart_of_match[] = {
#endif
#ifdef CONFIG_PPC_MPC512x
{ .compatible = "fsl,mpc5121-psc-uart", .data = &mpc512x_psc_ops, },
- {},
#endif
+ {},
};
static int __devinit