Skip to content

Commit

Permalink
docbook: fix kernel-api source files
Browse files Browse the repository at this point in the history
Fix docbook problems in kernel-api.tmpl.
These cause the generated docbook to be incorrect.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Mar 3, 2008
1 parent d0bcabc commit 0643245
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions drivers/base/transport_class.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,7 @@ static int transport_setup_classdev(struct attribute_container *cont,
}

/**
* transport_setup_device - declare a new dev for transport class association
* but don't make it visible yet.
*
* transport_setup_device - declare a new dev for transport class association but don't make it visible yet.
* @dev: the generic device representing the entity being added
*
* Usually, dev represents some component in the HBA system (either
Expand Down
3 changes: 1 addition & 2 deletions drivers/pci/rom.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,7 @@ void pci_remove_rom(struct pci_dev *pdev)
#endif /* 0 */

/**
* pci_cleanup_rom - internal routine for freeing the ROM copy created
* by pci_map_rom_copy called from remove.c
* pci_cleanup_rom - free the ROM copy created by pci_map_rom_copy
* @pdev: pointer to pci device struct
*
* Free the copied ROM if we allocated one.
Expand Down
3 changes: 1 addition & 2 deletions mm/truncate.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ invalidate_complete_page(struct address_space *mapping, struct page *page)
}

/**
* truncate_inode_pages - truncate range of pages specified by start and
* end byte offsets
* truncate_inode_pages - truncate range of pages specified by start & end byte offsets
* @mapping: mapping to truncate
* @lstart: offset from which to truncate
* @lend: offset to which to truncate
Expand Down

0 comments on commit 0643245

Please sign in to comment.