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)
commit585dc0c2f68981c02a0bb6fc8fe191a3f513959c
tree666f0d81139ab251365a7a0a171c50e333407d04
parent17fdfd0851617b6c18c0913364caf2a54171ce85
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