]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/block/xsysace.c: fix id with missing port-number
authorGernot Vormayr <gvormayr@gmail.com>
Fri, 24 May 2013 22:55:03 +0000 (15:55 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 May 2013 23:22:50 +0000 (16:22 -0700)
commitee4e6af14a4ea9c51d85f4fa626e2e0b6f7d4dec
tree666f0d81139ab251365a7a0a171c50e333407d04
parent257c19f688ada8e78b452c90ddacb21d1fff482c
drivers/block/xsysace.c: fix id with missing port-number

If the port number is missing from the device-tree the device gets named
xs` instead of xsa.  This fixes the check for missing ids.

Tested on ml507 board.

Signed-off-by: Gernot Vormayr <gvormayr@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/xsysace.c