Subject: [PATCH 1/2 v2] ARM: OMAP4: Fix NULL pointer dereference crash.

From: [email-masked] (Russell King)
Date: Fri, 18 Sep 2009 12:51:04 +0100

On Sun, Aug 23, 2009 at 10:56:14PM +0300, Kevin Hilman wrote:
> This should not be FOURPORT, it should just be a number.  In this case,
> it should be 3 (the others start from zero.)
> 
> The Zoom2 one should then be changed to something >= 4.

No it should not.  There's an enum to control the numbering of these.
Use that.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of: