projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffab6cf
)
it8213: fix return value in it8213_init_one()
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 8 Jul 2008 17:27:23 +0000
(19:27 +0200)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 8 Jul 2008 17:27:23 +0000
(19:27 +0200)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/it8213.c
patch
|
blob
|
history
diff --git
a/drivers/ide/pci/it8213.c
b/drivers/ide/pci/it8213.c
index
9053c87
..
2b71bdf
100644
(file)
--- a/
drivers/ide/pci/it8213.c
+++ b/
drivers/ide/pci/it8213.c
@@
-184,8
+184,7
@@
static const struct ide_port_info it8213_chipsets[] __devinitdata = {
static int __devinit it8213_init_one(struct pci_dev *dev, const struct pci_device_id *id)
{
- ide_setup_pci_device(dev, &it8213_chipsets[id->driver_data]);
- return 0;
+ return ide_setup_pci_device(dev, &it8213_chipsets[id->driver_data]);
}
static const struct pci_device_id it8213_pci_tbl[] = {