]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pdc202xx_new: fix PCI refcounting
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Tue, 11 Sep 2007 20:28:34 +0000 (22:28 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 11 Sep 2007 20:28:34 +0000 (22:28 +0200)
commit35198234a26fdc0f858774e3ba143796323059a0
treeae737a2258a8462478251432a2659d6c702006be
parent0505b55fb51fa289027f33ae793995c191277536
pdc202xx_new: fix PCI refcounting

The driver erroneously "lets go" the mate IDE chip in init_setup_pdc20270()
when ide_setup_pci_devices() call succeeds -- fix this, and drop a couple of
useless assignments in this function while at it...

Bart: keep "findev" variable initialization to silence gcc

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