From patchwork Mon Jan 18 17:16:03 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 43142 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 5D3D0B7C63 for ; Tue, 19 Jan 2010 04:31:54 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752064Ab0ARRbT (ORCPT ); Mon, 18 Jan 2010 12:31:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754596Ab0ARRRZ (ORCPT ); Mon, 18 Jan 2010 12:17:25 -0500 Received: from mail-ew0-f214.google.com ([209.85.219.214]:63659 "EHLO mail-ew0-f214.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754384Ab0ARRRT (ORCPT ); Mon, 18 Jan 2010 12:17:19 -0500 Received: by mail-ew0-f214.google.com with SMTP id 6so3704658ewy.29 for ; Mon, 18 Jan 2010 09:17:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :in-reply-to:references:subject; bh=9NQlWi4xNUGZxN9MdW83AVPylNkGEYyQVUXdrYRPqi0=; b=jEyiw3teLhArSF1yk3Cq8VH065/W6sMpWKBN6yw+TigEsseQ/zR8jjlKUIFyKMVl/R jQ7f6/ttWSvuZ12eNIFzZHS97ArdEb+9nqyUQkLlDxNb6+wu/Cz8qp3SXEXd9CkMiy/Z /x7CFo5DfLe8UtlZZRoqgTsR8lvrkRuO/Nmek= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:in-reply-to:references:subject; b=r1t2MW1WSjcshXb+sqDqUTWkmiEbarH+HLwjcSlMgs3Gtx6Z6aBr+9j4ugjvoMQmpQ bgwWtw/SdW4kh5iJ3Y01zptKFutKC8sSxkUMmaeF9/J3bpAwIzcdwN8Zsx9VrLwchKBf Q4hqI0vAqjuI//UprvJRzo7Hda+26rd9LvM5Y= Received: by 10.216.90.198 with SMTP id e48mr2074879wef.188.1263835033031; Mon, 18 Jan 2010 09:17:13 -0800 (PST) Received: from ?127.0.0.1? (chello089079027028.chello.pl [89.79.27.28]) by mx.google.com with ESMTPS id i6sm6963272gve.16.2010.01.18.09.17.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 18 Jan 2010 09:17:12 -0800 (PST) From: Bartlomiej Zolnierkiewicz To: linux-ide@vger.kernel.org Cc: Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org Date: Mon, 18 Jan 2010 18:16:03 +0100 Message-Id: <20100118171603.14623.7966.sendpatchset@localhost> In-Reply-To: <20100118171349.14623.90030.sendpatchset@localhost> References: <20100118171349.14623.90030.sendpatchset@localhost> Subject: [PATCH 16/64] pata_efar: fix secondary port support Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org From: Bartlomiej Zolnierkiewicz Subject: [PATCH] pata_efar: fix secondary port support Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ata/pata_efar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: b/drivers/ata/pata_efar.c =================================================================== --- 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. * @@ -222,7 +222,7 @@ static int efar_init_one (struct pci_dev .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,