diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-01-03 18:51:25 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-07 15:18:29 -0500 |
commit | 6ba1eafed183c6e0886d3483c8acac4efe1e95db (patch) | |
tree | 8b1c2fb5f3070f6ea9b27f048b00ff12f6b1c3e9 /drivers/bcma | |
parent | 8f9dc85348ac37ff3b6b031d22e93a5b59d81f83 (diff) |
bcma: mips: rename oldirqflag to irqinitmask
The new name better matches the use of this variable.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma')
-rw-r--r-- | drivers/bcma/driver_mips.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/bcma/driver_mips.c b/drivers/bcma/driver_mips.c index c6d7be33b972..8a51c7950536 100644 --- a/drivers/bcma/driver_mips.c +++ b/drivers/bcma/driver_mips.c | |||
@@ -130,9 +130,9 @@ static void bcma_core_mips_set_irq(struct bcma_device *dev, unsigned int irq) | |||
130 | bcma_read32(mdev, BCMA_MIPS_MIPS74K_INTMASK(0)) | | 130 | bcma_read32(mdev, BCMA_MIPS_MIPS74K_INTMASK(0)) | |
131 | (1 << irqflag)); | 131 | (1 << irqflag)); |
132 | } else { | 132 | } else { |
133 | u32 oldirqflag = bcma_read32(mdev, | 133 | u32 irqinitmask = bcma_read32(mdev, |
134 | BCMA_MIPS_MIPS74K_INTMASK(irq)); | 134 | BCMA_MIPS_MIPS74K_INTMASK(irq)); |
135 | if (oldirqflag) { | 135 | if (irqinitmask) { |
136 | struct bcma_device *core; | 136 | struct bcma_device *core; |
137 | 137 | ||
138 | /* backplane irq line is in use, find out who uses | 138 | /* backplane irq line is in use, find out who uses |
@@ -140,7 +140,7 @@ static void bcma_core_mips_set_irq(struct bcma_device *dev, unsigned int irq) | |||
140 | */ | 140 | */ |
141 | list_for_each_entry(core, &bus->cores, list) { | 141 | list_for_each_entry(core, &bus->cores, list) { |
142 | if ((1 << bcma_core_mips_irqflag(core)) == | 142 | if ((1 << bcma_core_mips_irqflag(core)) == |
143 | oldirqflag) { | 143 | irqinitmask) { |
144 | bcma_core_mips_set_irq(core, 0); | 144 | bcma_core_mips_set_irq(core, 0); |
145 | break; | 145 | break; |
146 | } | 146 | } |