summaryrefslogtreecommitdiffstats
path: root/drivers/char/pcmcia
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2011-02-01 15:46:05 +0000
committerDominik Brodowski <linux@dominikbrodowski.net>2011-02-19 12:22:36 +0100
commit644e6e4a7fa6b11d59f24032997d90ea0d858d03 (patch)
tree25b41d2f2f8c7a2f125acd3a3ae0882b5b2cfe15 /drivers/char/pcmcia
parent5b703683b6cc3cb97bbe6b1b14898b273eb59279 (diff)
downloadblackbird-op-linux-644e6e4a7fa6b11d59f24032997d90ea0d858d03.tar.gz
blackbird-op-linux-644e6e4a7fa6b11d59f24032997d90ea0d858d03.zip
cm4000_cs: Fix undefined ops warning
Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/char/pcmcia')
-rw-r--r--drivers/char/pcmcia/cm4000_cs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/pcmcia/cm4000_cs.c b/drivers/char/pcmcia/cm4000_cs.c
index 777181a2e603..bcbbc71febb7 100644
--- a/drivers/char/pcmcia/cm4000_cs.c
+++ b/drivers/char/pcmcia/cm4000_cs.c
@@ -830,8 +830,7 @@ static void monitor_card(unsigned long p)
test_bit(IS_ANY_T1, &dev->flags))) {
DEBUGP(4, dev, "Perform AUTOPPS\n");
set_bit(IS_AUTOPPS_ACT, &dev->flags);
- ptsreq.protocol = ptsreq.protocol =
- (0x01 << dev->proto);
+ ptsreq.protocol = (0x01 << dev->proto);
ptsreq.flags = 0x01;
ptsreq.pts1 = 0x00;
ptsreq.pts2 = 0x00;
OpenPOWER on IntegriCloud