summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRoel Kluin <12o3l@tiscali.nl>2007-11-05 14:50:51 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-05 15:12:31 -0800
commitdf59ebc49ef101302e9328ff76ff28c18df39cfb (patch)
tree7a347cb7dcb2e5307722161f8e11fcda13709122 /drivers
parent4a8aa03318a1c702b925beda6c1d454e7592e238 (diff)
downloadlinux-df59ebc49ef101302e9328ff76ff28c18df39cfb.tar.bz2
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')
-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",