]> err.no Git - linux-2.6/commitdiff
i4l: errors with assignments in if
authorRoel Kluin <12o3l@tiscali.nl>
Mon, 5 Nov 2007 22:50:51 +0000 (14:50 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 5 Nov 2007 23:12:31 +0000 (15:12 -0800)
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/isdn/hisax/elsa.c

index 2b2677ba0230467736f1543bb179e5791f396e12..d272d8ce65375a5d3159688c19a8559c8db4f872 100644 (file)
@@ -883,7 +883,7 @@ setup_elsa_isa(struct IsdnCard *card)
        val += 'A' - 3;
        if (val == 'B' || val == 'C')
                val ^= 1;
-       if ((cs->subtyp == ELSA_PCFPRO) && (val = 'G'))
+       if ((cs->subtyp == ELSA_PCFPRO) && (val == 'G'))
                val = 'C';
        printk(KERN_INFO
               "Elsa: %s found at %#lx Rev.:%c IRQ %d\n",