diff options
author | Nathan Hintz <nlhintz@hotmail.com> | 2013-01-12 05:46:17 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-14 15:10:41 -0500 |
commit | 660b9caaad380758c756a7e60397e33dab44fe3f (patch) | |
tree | 302beb355c801357f5009db3c72c6940aeb0b1a4 /drivers/bcma | |
parent | b09e9abd091a4ed1e638a810b25c6577b4621b12 (diff) |
bcma: use consistent case for 'hex' constants
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
Acked-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_pci_host.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/bcma/driver_pci_host.c b/drivers/bcma/driver_pci_host.c index f92124c29998..221f8bb76390 100644 --- a/drivers/bcma/driver_pci_host.c +++ b/drivers/bcma/driver_pci_host.c | |||
@@ -106,7 +106,7 @@ static int bcma_extpci_read_config(struct bcma_drv_pci *pc, unsigned int dev, | |||
106 | } else { | 106 | } else { |
107 | addr = BCMA_CORE_PCI_PCICFG0; | 107 | addr = BCMA_CORE_PCI_PCICFG0; |
108 | addr |= (func << 8); | 108 | addr |= (func << 8); |
109 | addr |= (off & 0xfc); | 109 | addr |= (off & 0xFC); |
110 | val = pcicore_read32(pc, addr); | 110 | val = pcicore_read32(pc, addr); |
111 | } | 111 | } |
112 | } else { | 112 | } else { |
@@ -119,7 +119,7 @@ static int bcma_extpci_read_config(struct bcma_drv_pci *pc, unsigned int dev, | |||
119 | goto out; | 119 | goto out; |
120 | 120 | ||
121 | if (mips_busprobe32(val, mmio)) { | 121 | if (mips_busprobe32(val, mmio)) { |
122 | val = 0xffffffff; | 122 | val = 0xFFFFFFFF; |
123 | goto unmap; | 123 | goto unmap; |
124 | } | 124 | } |
125 | } | 125 | } |
@@ -171,7 +171,7 @@ static int bcma_extpci_write_config(struct bcma_drv_pci *pc, unsigned int dev, | |||
171 | } else { | 171 | } else { |
172 | addr = BCMA_CORE_PCI_PCICFG0; | 172 | addr = BCMA_CORE_PCI_PCICFG0; |
173 | addr |= (func << 8); | 173 | addr |= (func << 8); |
174 | addr |= (off & 0xfc); | 174 | addr |= (off & 0xFC); |
175 | val = pcicore_read32(pc, addr); | 175 | val = pcicore_read32(pc, addr); |
176 | } | 176 | } |
177 | } else { | 177 | } else { |
@@ -184,7 +184,7 @@ static int bcma_extpci_write_config(struct bcma_drv_pci *pc, unsigned int dev, | |||
184 | goto out; | 184 | goto out; |
185 | 185 | ||
186 | if (mips_busprobe32(val, mmio)) { | 186 | if (mips_busprobe32(val, mmio)) { |
187 | val = 0xffffffff; | 187 | val = 0xFFFFFFFF; |
188 | goto unmap; | 188 | goto unmap; |
189 | } | 189 | } |
190 | } | 190 | } |
@@ -280,7 +280,7 @@ static u8 __devinit bcma_find_pci_capability(struct bcma_drv_pci *pc, | |||
280 | /* check for Header type 0 */ | 280 | /* check for Header type 0 */ |
281 | bcma_extpci_read_config(pc, dev, func, PCI_HEADER_TYPE, &byte_val, | 281 | bcma_extpci_read_config(pc, dev, func, PCI_HEADER_TYPE, &byte_val, |
282 | sizeof(u8)); | 282 | sizeof(u8)); |
283 | if ((byte_val & 0x7f) != PCI_HEADER_TYPE_NORMAL) | 283 | if ((byte_val & 0x7F) != PCI_HEADER_TYPE_NORMAL) |
284 | return cap_ptr; | 284 | return cap_ptr; |
285 | 285 | ||
286 | /* check if the capability pointer field exists */ | 286 | /* check if the capability pointer field exists */ |