Skip to content
Commit 0c6025d4 authored by Peter Teoh's avatar Peter Teoh Committed by Bartlomiej Zolnierkiewicz
Browse files

ide: fix buggy code in ide_register_hw()



Relocating the index to come after finding the hwif pointer.

Signed-off-by: default avatarPeter Teoh <htmldeveloper@gmail.com>
Reported-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent ef4298d0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment