From: Bartlomiej Zolnierkiewicz Date: Mon, 18 Jan 2010 17:16:03 +0000 (+0100) Subject: pata_efar: fix secondary port support X-Git-Tag: upstream/snapshot3+hdmi~15538^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=73e2e3d0e9d4b5781c66eca8a901e6478c25ae7d;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git pata_efar: fix secondary port support Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/pata_efar.c b/drivers/ata/pata_efar.c index b2e71e6..89076d5 100644 --- a/drivers/ata/pata_efar.c +++ b/drivers/ata/pata_efar.c @@ -2,7 +2,7 @@ * pata_efar.c - EFAR PIIX clone controller driver * * (C) 2005 Red Hat - * (C) 2009 Bartlomiej Zolnierkiewicz + * (C) 2009-2010 Bartlomiej Zolnierkiewicz * * Some parts based on ata_piix.c by Jeff Garzik and others. * @@ -256,7 +256,7 @@ static int efar_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) .udma_mask = ATA_UDMA4, .port_ops = &efar_ops, }; - const struct ata_port_info *ppi[] = { &info, NULL }; + const struct ata_port_info *ppi[] = { &info, &info }; if (!printed_version++) dev_printk(KERN_DEBUG, &pdev->dev,