Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e8c8188 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds
Browse files

[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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Acked-by: default avatarMatt Domsch <Matt_Domsch@dell.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7be2c7c9
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -316,6 +316,9 @@ X!Earch/i386/kernel/mca.c
     <sect1><title>DMI Interfaces</title>
     <sect1><title>DMI Interfaces</title>
!Edrivers/firmware/dmi_scan.c
!Edrivers/firmware/dmi_scan.c
     </sect1>
     </sect1>
     <sect1><title>EDD Interfaces</title>
!Idrivers/firmware/edd.c
     </sect1>
  </chapter>
  </chapter>


  <chapter id="security">
  <chapter id="security">
+5 −3
Original line number Original line Diff line number Diff line
@@ -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
 * 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
 * Returns: number of bytes written, or -EINVAL on failure
 */
 */
@@ -634,8 +636,8 @@ static decl_subsys(edd,&ktype_edd,NULL);


/**
/**
 * edd_dev_is_type() - is this EDD device a 'type' device?
 * edd_dev_is_type() - is this EDD device a 'type' device?
 * @edev
 * @edev: target edd_device
 * @type - a host bus or interface identifier string per the EDD spec
 * @type: a host bus or interface identifier string per the EDD spec
 *
 *
 * Returns 1 (TRUE) if it is a 'type' device, 0 otherwise.
 * Returns 1 (TRUE) if it is a 'type' device, 0 otherwise.
 */
 */
@@ -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
 * edd_get_pci_dev() - finds pci_dev that matches edev
 * @edev - edd_device
 * @edev: edd_device
 *
 *
 * Returns pci_dev if found, or NULL
 * Returns pci_dev if found, or NULL
 */
 */