Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=52b804829ca4cf3d1d9849232dadf67269cd89f4
Commit:     52b804829ca4cf3d1d9849232dadf67269cd89f4
Parent:     de0723dcca6e593a12a259798a54eb0e82628fb8
Author:     Grant Likely <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 6 22:29:25 2008 -0700
Committer:  Grant Likely <[EMAIL PROTECTED]>
CommitDate: Wed Feb 6 22:29:25 2008 -0700

    [POWERPC] mpc52xx: fix compile error introduce when rebasing patch
    
    When rebasing one of the mpc5200 psc UART patches I made a mistake and
    damaged the patch.
    
    This patch fixes the compile failure introduced in commit
    25ae3a0739c69425a911925b43213895a9802b98
    
    Signed-off-by: Grant Likely <[EMAIL PROTECTED]>
---
 drivers/serial/mpc52xx_uart.c |   39 ++++++++++++++-------------------------
 1 files changed, 14 insertions(+), 25 deletions(-)

diff --git a/drivers/serial/mpc52xx_uart.c b/drivers/serial/mpc52xx_uart.c
index 821facd..a638f23 100644
--- a/drivers/serial/mpc52xx_uart.c
+++ b/drivers/serial/mpc52xx_uart.c
@@ -131,31 +131,6 @@ static irqreturn_t mpc52xx_uart_int(int irq, void *dev_id);
 #define uart_console(port)     (0)
 #endif
 
-#if defined(CONFIG_PPC_MERGE)
-static struct of_device_id mpc52xx_uart_of_match[] = {
-#ifdef CONFIG_PPC_MPC52xx
-       { .compatible = "fsl,mpc5200-psc-uart", .data = &mpc52xx_psc_ops, },
-       /* binding used by old lite5200 device trees: */
-       { .compatible = "mpc5200-psc-uart", .data = &mpc52xx_psc_ops, },
-       /* binding used by efika: */
-       { .compatible = "mpc5200-serial", .data = &mpc52xx_psc_ops, },
-#endif
-#ifdef CONFIG_PPC_MPC512x
-       { .compatible = "fsl,mpc5121-psc-uart", .data = &mpc512x_psc_ops, },
-       {},
-#endif
-};
-#if defined(CONFIG_PPC_MERGE)
-static const struct of_device_id mpc52xx_uart_of_match[] = {
-       {.type = "serial",
-        .compatible = "mpc5200-psc-uart",
-#endif
-       {},
-};
-#endif
-
-#endif
-
 /* ======================================================================== */
 /* PSC fifo operations for isolating differences between 52xx and 512x      */
 /* ======================================================================== */
@@ -1234,6 +1209,20 @@ static struct platform_driver 
mpc52xx_uart_platform_driver = {
 /* OF Platform Driver                                                       */
 /* ======================================================================== */
 
+static struct of_device_id mpc52xx_uart_of_match[] = {
+#ifdef CONFIG_PPC_MPC52xx
+       { .compatible = "fsl,mpc5200-psc-uart", .data = &mpc52xx_psc_ops, },
+       /* binding used by old lite5200 device trees: */
+       { .compatible = "mpc5200-psc-uart", .data = &mpc52xx_psc_ops, },
+       /* binding used by efika: */
+       { .compatible = "mpc5200-serial", .data = &mpc52xx_psc_ops, },
+#endif
+#ifdef CONFIG_PPC_MPC512x
+       { .compatible = "fsl,mpc5121-psc-uart", .data = &mpc512x_psc_ops, },
+       {},
+#endif
+};
+
 static int __devinit
 mpc52xx_uart_of_probe(struct of_device *op, const struct of_device_id *match)
 {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to