aboutsummaryrefslogtreecommitdiff
path: root/include/asm-ppc64/iSeries/iSeries_pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc64/iSeries/iSeries_pci.h')
-rw-r--r--include/asm-ppc64/iSeries/iSeries_pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc64/iSeries/iSeries_pci.h b/include/asm-ppc64/iSeries/iSeries_pci.h
index 9c6d64526d5..f45cd8a2e7b 100644
--- a/include/asm-ppc64/iSeries/iSeries_pci.h
+++ b/include/asm-ppc64/iSeries/iSeries_pci.h
@@ -55,7 +55,7 @@ struct iSeries_Device_Node;
*/
#define ISERIES_PCI_AGENTID(idsel, func) \
- ((idsel & 0x0F) << 4) | (func & 0x07)
+ (((idsel & 0x0F) << 4) | (func & 0x07))
#define ISERIES_ENCODE_DEVICE(agentid) \
((0x10) | ((agentid & 0x20) >> 2) | (agentid & 0x07))