diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-02-10 04:46:03 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 13:51:32 -0500 |
commit | 6e8c818829587f001cacae5af4400e4e3aa90a37 (patch) | |
tree | 0bce3c4cab2a5dcc8e41a0219d5b41c59f659c62 | |
parent | 7be2c7c96aff2871240d61fef508c41176c688b5 (diff) |
[PATCH] docbook: add edd firmware interfaces
Cleanup kernel-doc notation in drivers/firmware/edd.c.
Add edd.c to DocBook/kernel-api.tmpl.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | Documentation/DocBook/kernel-api.tmpl | 3 | ||||
-rw-r--r-- | drivers/firmware/edd.c | 8 |
2 files changed, 8 insertions, 3 deletions
diff --git a/Documentation/DocBook/kernel-api.tmpl b/Documentation/DocBook/kernel-api.tmpl index 3fa0c4b4541e..0bb90237e230 100644 --- a/Documentation/DocBook/kernel-api.tmpl +++ b/Documentation/DocBook/kernel-api.tmpl | |||
@@ -316,6 +316,9 @@ X!Earch/i386/kernel/mca.c | |||
316 | <sect1><title>DMI Interfaces</title> | 316 | <sect1><title>DMI Interfaces</title> |
317 | !Edrivers/firmware/dmi_scan.c | 317 | !Edrivers/firmware/dmi_scan.c |
318 | </sect1> | 318 | </sect1> |
319 | <sect1><title>EDD Interfaces</title> | ||
320 | !Idrivers/firmware/edd.c | ||
321 | </sect1> | ||
319 | </chapter> | 322 | </chapter> |
320 | 323 | ||
321 | <chapter id="security"> | 324 | <chapter id="security"> |
diff --git a/drivers/firmware/edd.c b/drivers/firmware/edd.c index 5c261e1f92b2..d8806e4f1829 100644 --- a/drivers/firmware/edd.c +++ b/drivers/firmware/edd.c | |||
@@ -233,6 +233,8 @@ edd_show_interface(struct edd_device *edev, char *buf) | |||
233 | 233 | ||
234 | /** | 234 | /** |
235 | * edd_show_raw_data() - copies raw data to buffer for userspace to parse | 235 | * edd_show_raw_data() - copies raw data to buffer for userspace to parse |
236 | * @edev: target edd_device | ||
237 | * @buf: output buffer | ||
236 | * | 238 | * |
237 | * Returns: number of bytes written, or -EINVAL on failure | 239 | * Returns: number of bytes written, or -EINVAL on failure |
238 | */ | 240 | */ |
@@ -634,8 +636,8 @@ static decl_subsys(edd,&ktype_edd,NULL); | |||
634 | 636 | ||
635 | /** | 637 | /** |
636 | * edd_dev_is_type() - is this EDD device a 'type' device? | 638 | * edd_dev_is_type() - is this EDD device a 'type' device? |
637 | * @edev | 639 | * @edev: target edd_device |
638 | * @type - a host bus or interface identifier string per the EDD spec | 640 | * @type: a host bus or interface identifier string per the EDD spec |
639 | * | 641 | * |
640 | * Returns 1 (TRUE) if it is a 'type' device, 0 otherwise. | 642 | * Returns 1 (TRUE) if it is a 'type' device, 0 otherwise. |
641 | */ | 643 | */ |
@@ -657,7 +659,7 @@ edd_dev_is_type(struct edd_device *edev, const char *type) | |||
657 | 659 | ||
658 | /** | 660 | /** |
659 | * edd_get_pci_dev() - finds pci_dev that matches edev | 661 | * edd_get_pci_dev() - finds pci_dev that matches edev |
660 | * @edev - edd_device | 662 | * @edev: edd_device |
661 | * | 663 | * |
662 | * Returns pci_dev if found, or NULL | 664 | * Returns pci_dev if found, or NULL |
663 | */ | 665 | */ |