linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Sylvain Munaut <tnt@246tnt.com>
To: linuxppc-dev@ozlabs.org, Grant Likely <grant.likely@secretlab.ca>
Subject: [Fwd: fix for drivers/serial/mpc52xx_uart.c]
Date: Tue, 06 May 2008 08:43:01 +0200	[thread overview]
Message-ID: <481FFDF5.7060208@246tnt.com> (raw)

[-- 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)

             reply	other threads:[~2008-05-06  6:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-06  6:43 Sylvain Munaut [this message]
2008-05-06 14:39 ` [Fwd: fix for drivers/serial/mpc52xx_uart.c] Grant Likely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=481FFDF5.7060208@246tnt.com \
    --to=tnt@246tnt.com \
    --cc=grant.likely@secretlab.ca \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).