Skip to content

Commit

Permalink
PCI: Add comments for pbus_size_mem() parameters
Browse files Browse the repository at this point in the history
This patch fills in the missing description for two parameters of
pbus_size_mem().

Signed-off-by: Wei Yang <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
  • Loading branch information
Wei Yang authored and bjorn-helgaas committed Aug 2, 2013
1 parent f2a230b commit 496f70c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/pci/setup-bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 496f70c

Please sign in to comment.