linux-mips
[Top] [All Lists]

[PATCH 6/8] bcm63xx: add missing null entry in bcm63xx_pcmcia pci device

To: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 6/8] bcm63xx: add missing null entry in bcm63xx_pcmcia pci device table.
From: Maxime Bizon <mbizon@freebox.fr>
Date: Wed, 3 Jun 2009 16:02:25 +0200
Cc: Florian Fainelli <florian@openwrt.org>, Maxime Bizon <mbizon@freebox.fr>
In-reply-to: <1244037747-27144-1-git-send-email-mbizon@freebox.fr>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1244037747-27144-1-git-send-email-mbizon@freebox.fr>
Sender: linux-mips-bounce@linux-mips.org
The PCI device table in bcm63xx_pcmcia lacks the final null
entry. Spotted by build system when building it as module.

Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
---
 drivers/pcmcia/bcm63xx_pcmcia.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/pcmcia/bcm63xx_pcmcia.c b/drivers/pcmcia/bcm63xx_pcmcia.c
index 6c7f20c..48928b8 100644
--- a/drivers/pcmcia/bcm63xx_pcmcia.c
+++ b/drivers/pcmcia/bcm63xx_pcmcia.c
@@ -492,6 +492,8 @@ static struct pci_device_id bcm63xx_cb_table[] = {
                .class          = PCI_CLASS_BRIDGE_CARDBUS << 8,
                .class_mask     = ~0,
        },
+
+       { },
 };
 
 MODULE_DEVICE_TABLE(pci, bcm63xx_cb_table);
-- 
1.6.0.4


<Prev in Thread] Current Thread [Next in Thread>