hpt366: fix kernel oops with HPT302N
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 20 Apr 2007 20:16:58 +0000 (22:16 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 20 Apr 2007 20:16:58 +0000 (22:16 +0200)
commit38b66f8444050c7cdfad759b8b556338e1fcb4da
treec3ecdb5d0ab3962ba8e938dcb0fa52bc85c3b056
parent2571b16dde15dacf0e338cc5fe8fb3142122eb5a
hpt366: fix kernel oops with HPT302N

The driver crashes the kernel on HPT302N chips due to the missing initializer
for 'hpt302n.settings' having been unfortunately overlooked so far. :-<

Much thanks to Mike Mattie for pin-pointing the reason of crash.

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