]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Staging: ipack/bridges/tpci200: removed check of tpci200->slots[dev->slot].dev
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Wed, 23 May 2012 13:54:47 +0000 (15:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jun 2012 05:14:08 +0000 (14:14 +0900)
commit65260291c13d148a7b7f86f3a99af14c43599fa9
treec47b5f839dad12552477160ca970548e051ade34
parent1fc75280f1e48d8f941dfea881d0f5b53fca27f6
Staging: ipack/bridges/tpci200: removed check of tpci200->slots[dev->slot].dev

When ipack_device_register() is called, the variable
tpci200->slots[dev->slot].dev has not assigned a value and it gives an error
when the mezzanine driver is reading a register from the board for the match()
function, as all the I/O functions call check_slot().

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ipack/bridges/tpci200.c