PCI: keystone: Use SYSCON APIs to get device ID from control module
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Oct 2018 07:41:03 +0000 (13:11 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 17 Oct 2018 08:45:46 +0000 (09:45 +0100)
commitb51a625b784aa9cdac4a177560e19f0a0041ce19
treeb61270de472c0d42c225b61bb433fdefbbcc2c31
parent03d178386477cb58031b31efe2403071a01868fd
PCI: keystone: Use SYSCON APIs to get device ID from control module

Control module registers should be read using syscon APIs.
pci-keystone.c uses platform_get_resource() to get control module registers.
Fix it here by using syscon APIs to get device id from control module.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/dwc/pci-keystone.c