From: Wei Yang Date: Fri, 2 Aug 2013 09:31:04 +0000 (+0800) Subject: PCI: Add comments for pbus_size_mem() parameters X-Git-Tag: upstream/snapshot3+hdmi~4467^2~7^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=496f70cf6507be96397d319b1b7d3946d51d9932;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git PCI: Add comments for pbus_size_mem() parameters This patch fills in the missing description for two parameters of pbus_size_mem(). Signed-off-by: Wei Yang Signed-off-by: Bjorn Helgaas --- diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index 6dbe562..939ca1b 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers/pci/setup-bus.c @@ -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