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 710c63b commit a807f76304d02928a6a89d56930c4259ddb0736a
@Antony Pavlov Antony Pavlov authored on 12 Sep 2018
Sascha Hauer committed on 18 Sep 2018
Showing 1 changed file
View
drivers/pci/pci.c