pci_of_match_device: don't crash on MIPS Malta
In arch/mips/mach-malta/pci.c PCI controller is instantiated
without dt and struct pci_controller parent field is NULL.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 94c6c85 commit 183d018fc35383676f8cd8c449ee2570a8233025
@Antony Pavlov Antony Pavlov authored on 12 Sep 2018
Sascha Hauer committed on 17 Sep 2018
Showing 1 changed file
View
drivers/pci/pci.c