staging: vme: fix loop condition
authorManohar Vanga <manohar.vanga@cern.ch>
Wed, 23 Feb 2011 13:25:28 +0000 (14:25 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Feb 2011 22:41:29 +0000 (14:41 -0800)
Fix loop condition in vme_register_bridge that results in an infinite
loop in the event that device_register fails.

Signed-off-by: Manohar Vanga <manohar.vanga@cern.ch>
Acked-by: Martyn Welch <martyn.welch@ge.com>
Acked-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found