diff options
Diffstat (limited to 'arch/mips/pci/ops-emma2rh.c')
-rw-r--r-- | arch/mips/pci/ops-emma2rh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/ops-emma2rh.c b/arch/mips/pci/ops-emma2rh.c index 38f181625e10..d31bfc6d4150 100644 --- a/arch/mips/pci/ops-emma2rh.c +++ b/arch/mips/pci/ops-emma2rh.c | |||
@@ -45,7 +45,7 @@ static int check_args(struct pci_bus *bus, u32 devfn, u32 * bus_num) | |||
45 | /* check if the bus is top-level */ | 45 | /* check if the bus is top-level */ |
46 | if (bus->parent != NULL) { | 46 | if (bus->parent != NULL) { |
47 | *bus_num = bus->number; | 47 | *bus_num = bus->number; |
48 | db_assert(bus_num != 0); | 48 | db_assert(bus_num != NULL); |
49 | } else | 49 | } else |
50 | *bus_num = 0; | 50 | *bus_num = 0; |
51 | 51 | ||