]> Pileus Git - ~andy/linux/commitdiff
PCI: Add comments for pbus_size_mem() parameters
authorWei Yang <weiyang@linux.vnet.ibm.com>
Fri, 2 Aug 2013 09:31:04 +0000 (17:31 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 2 Aug 2013 22:15:26 +0000 (16:15 -0600)
This patch fills in the missing description for two parameters of
pbus_size_mem().

Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/setup-bus.c

index 6dbe5629c8b4ccf2c9793c97644f1c6f70636524..939ca1b9af9274418e1bb2e252446b4e94c6d56a 100644 (file)
@@ -838,6 +838,8 @@ static inline resource_size_t calculate_mem_align(resource_size_t *aligns,
  * pbus_size_mem() - size the memory window of a given bus
  *
  * @bus : the bus
+ * @mask: mask the resource flag, then compare it with type
+ * @type: the type of free resource from bridge
  * @min_size : the minimum memory window that must to be allocated
  * @add_size : additional optional memory window
  * @realloc_head : track the additional memory window on this list