linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [Fwd: fix for drivers/serial/mpc52xx_uart.c]
@ 2008-05-06  6:43 Sylvain Munaut
  2008-05-06 14:39 ` Grant Likely
  0 siblings, 1 reply; 2+ messages in thread
From: Sylvain Munaut @ 2008-05-06  6:43 UTC (permalink / raw)
  To: linuxppc-dev, Grant Likely

[-- Attachment #1: Type: text/plain, Size: 82 bytes --]

Patch, obviously correct, sent to me personally instead of the list.

    Sylvain

[-- Attachment #2: fix for drivers/serial/mpc52xx_uart.c.eml --]
[-- Type: message/rfc822, Size: 2747 bytes --]

[-- Attachment #2.1.1: Type: TEXT/PLAIN, Size: 534 bytes --]

Here is a fix for the unterminated mpc52xx_uart_of_match array when 
CONFIG_PPC_MPC512x is not defined. Should be quite self explonary, but if 
not feel free to bug me about it.

Patch applies against 2.6.25 and 2.6.25.1 at least.

Patch can be credited to Harry Sintonen <sintonen@iki.fi>.


   Regards,
-- 
l=2001;main(i){float o,O,_,I,D;for(;O=I=l/571.-1.75,l;)for(putchar(--l%80?
i:10),o=D=l%80*.05-2,i=31;_=O*O,O=2*o*O+I,o=o*o-_+D,o+_+_<4+D&i++<87;);puts
("  Harry 'Piru' Sintonen <sintonen@iki.fi> http://www.iki.fi/sintonen");}

[-- Attachment #2.1.2: Type: TEXT/plain, Size: 481 bytes --]

--- drivers/serial/mpc52xx_uart.c-orig	2008-05-05 22:50:56.000000000 +0300
+++ drivers/serial/mpc52xx_uart.c	2008-05-05 22:51:56.000000000 +0300
@@ -1220,10 +1220,10 @@
 	{ .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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Fwd: fix for drivers/serial/mpc52xx_uart.c]
  2008-05-06  6:43 [Fwd: fix for drivers/serial/mpc52xx_uart.c] Sylvain Munaut
@ 2008-05-06 14:39 ` Grant Likely
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2008-05-06 14:39 UTC (permalink / raw)
  To: Sylvain Munaut; +Cc: linuxppc-dev

On Tue, May 6, 2008 at 12:43 AM, Sylvain Munaut <tnt@246tnt.com> wrote:
> Patch, obviously correct, sent to me personally instead of the list.
>
>     Sylvain
>
> Here is a fix for the unterminated mpc52xx_uart_of_match array when CONFIG_PPC_MPC512x is not defined. Should be quite self explonary, but if not feel free to bug me about it.
>
>  Patch applies against 2.6.25 and 2.6.25.1 at least.

Already fixed in mainline; it needs to be back ported to 2.6.25.  I'll
poke GregKH

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-06 14:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-06  6:43 [Fwd: fix for drivers/serial/mpc52xx_uart.c] Sylvain Munaut
2008-05-06 14:39 ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).