]> git.baikalelectronics.ru Git - uboot.git/commit
pci: pci_mvebu: Replace MBUS_PCI_*_SIZE by resource_size()
authorPali Rohár <pali@kernel.org>
Thu, 11 Nov 2021 15:35:43 +0000 (16:35 +0100)
committerStefan Roese <sr@denx.de>
Tue, 21 Dec 2021 06:40:26 +0000 (07:40 +0100)
commitc413dd743e99266b7291a86ad88b1c44b41039d2
treee07baa4713d2b54b916418df1a5be4edb57507dc
parentb45211675083ec469697844750ce679bf67e0427
pci: pci_mvebu: Replace MBUS_PCI_*_SIZE by resource_size()

Use more appropriate resource_size() function when working with data in
struct resource.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/pci/pci_mvebu.c