]> git.baikalelectronics.ru Git - kernel.git/commit
cpm_uart: Initialize port.dev before it's used.
authorScott Wood <scottwood@freescale.com>
Fri, 3 Apr 2009 20:48:44 +0000 (15:48 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 6 Apr 2009 14:09:28 +0000 (09:09 -0500)
commit11b2fc34e55dc9938ee25f78b9b71d161c6916f5
treea93bd59ef3857747d94808b58f508b8d94c77f2f
parentc3fb2a16917c483e147b3561b538b85d14194b48
cpm_uart: Initialize port.dev before it's used.

Previously, this caused NULL to sometimes be passed as a device
to the DMA code.  With recent DMA changes, that now causes a BUG().

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/serial/cpm_uart/cpm_uart_core.c