diff options
author | Andre Haupt <andre@bitwigglers.org> | 2009-02-02 17:45:11 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-02-27 00:14:35 -0500 |
commit | 34a55eda483e8177c9044f93fd2c9107f02bf1c7 (patch) | |
tree | 0382f41dded5e5df781e521dd8a570603566addc /drivers | |
parent | dd2efd03b49d56ae795c71335bc7358022514c32 (diff) |
Bluetooth: Eliminate a sparse warning in bt3c driver
This eliminates a sparse warning that symbol 'stat' shadows an earlier one.
Signed-off-by: Andre Haupt <andre@bitwigglers.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/bluetooth/bt3c_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/bt3c_cs.c b/drivers/bluetooth/bt3c_cs.c index ff195c230825..d58e22b9f06a 100644 --- a/drivers/bluetooth/bt3c_cs.c +++ b/drivers/bluetooth/bt3c_cs.c | |||
@@ -359,9 +359,9 @@ static irqreturn_t bt3c_interrupt(int irq, void *dev_inst) | |||
359 | BT_ERR("Very strange (stat=0x%04x)", stat); | 359 | BT_ERR("Very strange (stat=0x%04x)", stat); |
360 | } else if ((stat & 0xff) != 0xff) { | 360 | } else if ((stat & 0xff) != 0xff) { |
361 | if (stat & 0x0020) { | 361 | if (stat & 0x0020) { |
362 | int stat = bt3c_read(iobase, 0x7002) & 0x10; | 362 | int status = bt3c_read(iobase, 0x7002) & 0x10; |
363 | BT_INFO("%s: Antenna %s", info->hdev->name, | 363 | BT_INFO("%s: Antenna %s", info->hdev->name, |
364 | stat ? "out" : "in"); | 364 | status ? "out" : "in"); |
365 | } | 365 | } |
366 | if (stat & 0x0001) | 366 | if (stat & 0x0001) |
367 | bt3c_receive(info); | 367 | bt3c_receive(info); |