[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <fa686aa40805060741vd4befa4i1ea5ab6df4d54d9b@mail.gmail.com>
Date: Tue, 6 May 2008 08:41:44 -0600
From: "Grant Likely" <grant.likely@...retlab.ca>
To: "Greg KH" <greg@...ah.com>,
"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>
Subject: Fwd: [PATCH] [POWERPC] mpc5200: Fix unterminated of_device_id table
Greg,
This patch is already in mainline; but it needs to be backported to
the stable tree. Can you please pick it up?
Thanks,
g.
---------- Forwarded message ----------
From: Grant Likely <grant.likely@...retlab.ca>
Date: Tue, Apr 29, 2008 at 6:43 AM
Subject: [PATCH] [POWERPC] mpc5200: Fix unterminated of_device_id table
To: linuxppc-dev@...abs.org, linux_kernel@...r.kernel.org, paulus@...ba.org
From: Grant Likely <grant.likely@...retlab.ca>
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@...retlab.ca>
---
drivers/serial/mpc52xx_uart.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/serial/mpc52xx_uart.c b/drivers/serial/mpc52xx_uart.c
index d93b357..7a3625f 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
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists