aboutsummaryrefslogtreecommitdiffstats
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 9c6d64526d59..f45cd8a2e7be 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;
55 */ 55 */
56 56
57#define ISERIES_PCI_AGENTID(idsel, func) \ 57#define ISERIES_PCI_AGENTID(idsel, func) \
58 ((idsel & 0x0F) << 4) | (func & 0x07) 58 (((idsel & 0x0F) << 4) | (func & 0x07))
59#define ISERIES_ENCODE_DEVICE(agentid) \ 59#define ISERIES_ENCODE_DEVICE(agentid) \
60 ((0x10) | ((agentid & 0x20) >> 2) | (agentid & 0x07)) 60 ((0x10) | ((agentid & 0x20) >> 2) | (agentid & 0x07))
61 61