]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit956d1dc1d31aacb948facae73918a93eaa29455f
treeb61270de472c0d42c225b61bb433fdefbbcc2c31
parent4daf8f6e127eba60200bd50aaa27c5f7104bda2f
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