summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/elsa.c
diff options
context:
space:
mode:
authorRoel Kluin <12o3l@tiscali.nl>2007-11-05 23:50:51 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-06 00:12:31 +0100
commitdf59ebc49ef101302e9328ff76ff28c18df39cfb (patch)
tree7a347cb7dcb2e5307722161f8e11fcda13709122 /drivers/isdn/hisax/elsa.c
parentMerge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds (diff)
downloadlinux-df59ebc49ef101302e9328ff76ff28c18df39cfb.tar.xz
linux-df59ebc49ef101302e9328ff76ff28c18df39cfb.zip
i4l: errors with assignments in if
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>
Diffstat (limited to 'drivers/isdn/hisax/elsa.c')
-rw-r--r--drivers/isdn/hisax/elsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hisax/elsa.c b/drivers/isdn/hisax/elsa.c
index 2b2677ba0230..d272d8ce6537 100644
--- a/drivers/isdn/hisax/elsa.c
+++ b/drivers/isdn/hisax/elsa.c
@@ -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",