Commit 3d41088f authored by Martin Waitz's avatar Martin Waitz Committed by Linus Torvalds

[PATCH] DocBook: update comments

This patch updates some comments to match code changes.
Signed-off-by: default avatarMartin Waitz <tali@admingilde.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 363412b4
...@@ -266,7 +266,7 @@ X!Ekernel/module.c ...@@ -266,7 +266,7 @@ X!Ekernel/module.c
<chapter id="hardware"> <chapter id="hardware">
<title>Hardware Interfaces</title> <title>Hardware Interfaces</title>
<sect1><title>Interrupt Handling</title> <sect1><title>Interrupt Handling</title>
!Iarch/i386/kernel/irq.c !Ikernel/irq/manage.c
</sect1> </sect1>
<sect1><title>Resources Management</title> <sect1><title>Resources Management</title>
......
...@@ -259,7 +259,6 @@ int pnp_add_card_device(struct pnp_card * card, struct pnp_dev * dev) ...@@ -259,7 +259,6 @@ int pnp_add_card_device(struct pnp_card * card, struct pnp_dev * dev)
/** /**
* pnp_remove_card_device- removes a device from the specified card * pnp_remove_card_device- removes a device from the specified card
* @card: pointer to the card to remove from
* @dev: pointer to the device to remove * @dev: pointer to the device to remove
*/ */
...@@ -274,7 +273,7 @@ void pnp_remove_card_device(struct pnp_dev * dev) ...@@ -274,7 +273,7 @@ void pnp_remove_card_device(struct pnp_dev * dev)
/** /**
* pnp_request_card_device - Searches for a PnP device under the specified card * pnp_request_card_device - Searches for a PnP device under the specified card
* @lcard: pointer to the card link, cannot be NULL * @clink: pointer to the card link, cannot be NULL
* @id: pointer to a PnP ID structure that explains the rules for finding the device * @id: pointer to a PnP ID structure that explains the rules for finding the device
* @from: Starting place to search from. If NULL it will start from the begining. * @from: Starting place to search from. If NULL it will start from the begining.
*/ */
......
...@@ -390,6 +390,7 @@ fail: ...@@ -390,6 +390,7 @@ fail:
* pnp_manual_config_dev - Disables Auto Config and Manually sets the resource table * pnp_manual_config_dev - Disables Auto Config and Manually sets the resource table
* @dev: pointer to the desired device * @dev: pointer to the desired device
* @res: pointer to the new resource config * @res: pointer to the new resource config
* @mode: 0 or PNP_CONFIG_FORCE
* *
* This function can be used by drivers that want to manually set thier resources. * This function can be used by drivers that want to manually set thier resources.
*/ */
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#define to_subsys(k) container_of(k,struct subsystem,kset.kobj) #define to_subsys(k) container_of(k,struct subsystem,kset.kobj)
#define to_sattr(a) container_of(a,struct subsys_attribute,attr) #define to_sattr(a) container_of(a,struct subsys_attribute,attr)
/** /*
* Subsystem file operations. * Subsystem file operations.
* These operations allow subsystems to have files that can be * These operations allow subsystems to have files that can be
* read/written. * read/written.
...@@ -192,8 +192,9 @@ fill_write_buffer(struct sysfs_buffer * buffer, const char __user * buf, size_t ...@@ -192,8 +192,9 @@ fill_write_buffer(struct sysfs_buffer * buffer, const char __user * buf, size_t
/** /**
* flush_write_buffer - push buffer to kobject. * flush_write_buffer - push buffer to kobject.
* @file: file pointer. * @dentry: dentry to the attribute
* @buffer: data buffer for file. * @buffer: data buffer for file.
* @count: number of bytes
* *
* Get the correct pointers for the kobject and the attribute we're * Get the correct pointers for the kobject and the attribute we're
* dealing with, then call the store() method for the attribute, * dealing with, then call the store() method for the attribute,
......
...@@ -1458,7 +1458,7 @@ restart: ...@@ -1458,7 +1458,7 @@ restart:
* unmap_mapping_range - unmap the portion of all mmaps * unmap_mapping_range - unmap the portion of all mmaps
* in the specified address_space corresponding to the specified * in the specified address_space corresponding to the specified
* page range in the underlying file. * page range in the underlying file.
* @address_space: the address space containing mmaps to be unmapped. * @mapping: the address space containing mmaps to be unmapped.
* @holebegin: byte in first page to unmap, relative to the start of * @holebegin: byte in first page to unmap, relative to the start of
* the underlying file. This will be rounded down to a PAGE_SIZE * the underlying file. This will be rounded down to a PAGE_SIZE
* boundary. Note that this is different from vmtruncate(), which * boundary. Note that this is different from vmtruncate(), which
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment