]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: imx: Pass driver private data around
authorMarek Vasut <marex@denx.de>
Sun, 9 Jun 2019 01:50:54 +0000 (03:50 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jun 2019 08:42:48 +0000 (10:42 +0200)
commitd2cc2e86f8e12393f2adf47c9a8694475e92e05a
treef2e997acc0b7674cb435c8927a87531fa2aff4d7
parent90f87fb5258c57bbb8497ac23454e659169483e4
pci: imx: Pass driver private data around

Pass the driver private data around the driver as much as possible, instead
of having it as a static global variable. This is done in preparation for
the DM conversion, no functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pcie_imx.c