it8213: fix return value in it8213_init_one()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
Родитель
ffab6cf44e
Коммит
be305042b7
|
@ -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)
|
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 ide_setup_pci_device(dev, &it8213_chipsets[id->driver_data]);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct pci_device_id it8213_pci_tbl[] = {
|
static const struct pci_device_id it8213_pci_tbl[] = {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче