PCI: mvebu: Use max_t() instead of max(resource_size_t,)
authorJingoo Han <jg1.han@samsung.com>
Fri, 27 Dec 2013 00:34:36 +0000 (09:34 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 2 Jan 2014 21:43:48 +0000 (14:43 -0700)
commit06489002a175680e18b4c0dd0beb6aff2a6d3781
tree8a0131b2c3c24f9af58f54269a1f6b3765da9f26
parent31e45ec3a4e73dcbeb51e03ab559812ba3e82cc2
PCI: mvebu: Use max_t() instead of max(resource_size_t,)

Use max_t() instead of max(resource_size_t,) in order to fix
the following checkpatch warning.

  WARNING: max() should probably be max_t(resource_size_t, SZ_64K, size)
  WARNING: max() should probably be max_t(resource_size_t, SZ_1M, size)

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
drivers/pci/host/pci-mvebu.c