]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
spi: fix spi_imx probe oopsing
authorJulien Boibessot <julien.boibessot@free.fr>
Mon, 1 Dec 2008 21:13:55 +0000 (13:13 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 2 Dec 2008 03:55:24 +0000 (19:55 -0800)
commit6a010b56e9bd2fdb32efd153e1a08305949b6b53
treee4caf907a10b497f0040255a8b3ece28c0dc2b27
parent7ef9964e6d1b911b78709f144000aacadd0ebc21
spi: fix spi_imx probe oopsing

Corrects spi_imx driver oops during initialization/probing: can't use
drv_data before it's allocated.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/spi_imx.c