]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
pcnet_cs: Fix misuse of the equality operator.
authorCord Walter <qord@cwalter.net>
Tue, 3 Feb 2009 23:14:05 +0000 (15:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Feb 2009 23:14:05 +0000 (15:14 -0800)
Signed-off-by: Cord Walter <qord@cwalter.net>
Signed-off-by: Komuro <komurojun-mbn@nifty.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pcmcia/pcnet_cs.c

index c38ed777f0a890a60f6092bea0ec0efb197b8e98..a6999403f37b27c63eb770a23e521f9517362a96 100644 (file)
@@ -586,7 +586,7 @@ static int pcnet_config(struct pcmcia_device *link)
     }
 
     if ((link->conf.ConfigBase == 0x03c0)
-       && (link->manf_id == 0x149) && (link->card_id = 0xc1ab)) {
+       && (link->manf_id == 0x149) && (link->card_id == 0xc1ab)) {
        printk(KERN_INFO "pcnet_cs: this is an AX88190 card!\n");
        printk(KERN_INFO "pcnet_cs: use axnet_cs instead.\n");
        goto failed;