rz1000: set serialized flag only if mate interface exists
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 19 Oct 2007 22:32:29 +0000 (00:32 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 19 Oct 2007 22:32:29 +0000 (00:32 +0200)
commit746f312a5606bbfc616a16f830705ec8cb54ab9a
tree942ef37b3bbf776e5eaace7c807f07120063fcd6
parentcf6e854efb3682322351a21e64058ffc13250914
rz1000: set serialized flag only if mate interface exists

Setting hwif->serialized makes sense only if the mate interface exists.

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/rz1000.c