Skip to content

Commit

Permalink
[PATCH] docbook: add edd firmware interfaces
Browse files Browse the repository at this point in the history
Cleanup kernel-doc notation in drivers/firmware/edd.c.

Add edd.c to DocBook/kernel-api.tmpl.

Signed-off-by: Randy Dunlap <[email protected]>
Acked-by: Matt Domsch <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
rddunlap authored and Linus Torvalds committed Feb 11, 2007
1 parent 7be2c7c commit 6e8c818
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Documentation/DocBook/kernel-api.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@ X!Earch/i386/kernel/mca.c
<sect1><title>DMI Interfaces</title>
!Edrivers/firmware/dmi_scan.c
</sect1>
<sect1><title>EDD Interfaces</title>
!Idrivers/firmware/edd.c
</sect1>
</chapter>

<chapter id="security">
Expand Down
8 changes: 5 additions & 3 deletions drivers/firmware/edd.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ edd_show_interface(struct edd_device *edev, char *buf)

/**
* edd_show_raw_data() - copies raw data to buffer for userspace to parse
* @edev: target edd_device
* @buf: output buffer
*
* Returns: number of bytes written, or -EINVAL on failure
*/
Expand Down Expand Up @@ -634,8 +636,8 @@ static decl_subsys(edd,&ktype_edd,NULL);

/**
* edd_dev_is_type() - is this EDD device a 'type' device?
* @edev
* @type - a host bus or interface identifier string per the EDD spec
* @edev: target edd_device
* @type: a host bus or interface identifier string per the EDD spec
*
* Returns 1 (TRUE) if it is a 'type' device, 0 otherwise.
*/
Expand All @@ -657,7 +659,7 @@ edd_dev_is_type(struct edd_device *edev, const char *type)

/**
* edd_get_pci_dev() - finds pci_dev that matches edev
* @edev - edd_device
* @edev: edd_device
*
* Returns pci_dev if found, or NULL
*/
Expand Down

0 comments on commit 6e8c818

Please sign in to comment.