summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-02-11 22:40:15 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2019-02-18 14:25:51 +0100
commit0341d1e8d343e70ee2d0df463e612181df3db719 (patch)
tree4abf7fb031b63b134c1f409e465a12388b6c88ef /drivers/usb/host
parentd1bebc03b3005b33da3d1541782bb037974d1486 (diff)
downloadbarebox-0341d1e8d343e70ee2d0df463e612181df3db719.tar.gz
barebox-0341d1e8d343e70ee2d0df463e612181df3db719.tar.xz
PCI: Fix to_pci_dev() macro
Rename argument of to_pci_dev() to avoid replacing both first and third parameters passed to container_of. All of the current users of the macro invoike it with a varible named "dev", so erroneous replacement doesn't cause any harm, however trying to pass variable with any other name will result in compilation failure. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb/host')
0 files changed, 0 insertions, 0 deletions