diff options
author | Niklas Cassel <niklas.cassel@axis.com> | 2017-12-20 02:29:29 +0300 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2017-12-21 14:10:25 +0300 |
commit | 71890ea0a0b5632c31be8d81c6c94b6541a898ff (patch) | |
tree | 10b011d91f66f9250965ec8330c867b2c5f6afba /tools/perf/scripts/python/syscall-counts.py | |
parent | b052835c63857e13d9ada3ebc57a8f9e1d124f3a (diff) | |
download | linux-71890ea0a0b5632c31be8d81c6c94b6541a898ff.tar.xz |
PCI: dwc: dra7xx: Assign pp->ops in dra7xx_add_pcie_port() rather than in probe
Assign pp->ops in *_add_pcie_port() to match how it is done in other
drivers like exynos, imx7, keystone, armada8k, artpec6, designware-plat,
hisi, kirin and spear13xx.
This is probably a remainder since when dev and ops were assigned as
members to pp. Since we now assign them as members to struct dw_pcie,
the pp->ops assignment should definitely be in dra7xx_add_pcie_port().
This is done so that the compiler (in a later commit) can remove more
code when enabling only one of the two supported modes (host/ep) in
the dra7xx driver.
Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions