diff options
| -rw-r--r-- | include/asm-arm/arch-ixp2000/ixdp2x00.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/asm-arm/arch-ixp2000/ixdp2x00.h b/include/asm-arm/arch-ixp2000/ixdp2x00.h index 229381c64283..546e2e8e27b8 100644 --- a/include/asm-arm/arch-ixp2000/ixdp2x00.h +++ b/include/asm-arm/arch-ixp2000/ixdp2x00.h | |||
| @@ -72,12 +72,11 @@ | |||
| 72 | 72 | ||
| 73 | #ifndef __ASSEMBLY__ | 73 | #ifndef __ASSEMBLY__ |
| 74 | /* | 74 | /* |
| 75 | * Master NPU will always have flash and be PCI master. | 75 | * The master NPU is always PCI master. |
| 76 | * Slave NPU may or may not have flash but will never be PCI master. | ||
| 77 | */ | 76 | */ |
| 78 | static inline unsigned int ixdp2x00_master_npu(void) | 77 | static inline unsigned int ixdp2x00_master_npu(void) |
| 79 | { | 78 | { |
| 80 | return ((ixp2000_has_flash()) && (ixp2000_is_pcimaster())); | 79 | return !!ixp2000_is_pcimaster(); |
| 81 | } | 80 | } |
| 82 | 81 | ||
| 83 | /* | 82 | /* |
