diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-11-13 16:09:16 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-11-13 16:09:16 -0500 |
commit | 24ffbd62583024f85bdba72cd373d050aa1a1b15 (patch) | |
tree | 8f93ba9dc4166907373a0c34fd8b63b0424441a9 /drivers/ide/pci/jmicron.c | |
parent | 34c69b601b2ec8fc8ff6657a547ce3865d58e220 (diff) |
it821x/jmicron: fix return value of {it821x,jmicron}_init_one()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/jmicron.c')
-rw-r--r-- | drivers/ide/pci/jmicron.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/pci/jmicron.c b/drivers/ide/pci/jmicron.c index bdf64d997708..0083eaf89c77 100644 --- a/drivers/ide/pci/jmicron.c +++ b/drivers/ide/pci/jmicron.c | |||
@@ -139,8 +139,7 @@ static const struct ide_port_info jmicron_chipset __devinitdata = { | |||
139 | 139 | ||
140 | static int __devinit jmicron_init_one(struct pci_dev *dev, const struct pci_device_id *id) | 140 | static int __devinit jmicron_init_one(struct pci_dev *dev, const struct pci_device_id *id) |
141 | { | 141 | { |
142 | ide_setup_pci_device(dev, &jmicron_chipset); | 142 | return ide_setup_pci_device(dev, &jmicron_chipset); |
143 | return 0; | ||
144 | } | 143 | } |
145 | 144 | ||
146 | /* All JMB PATA controllers have and will continue to have the same | 145 | /* All JMB PATA controllers have and will continue to have the same |