doc: device.h: hide DEV_* from public documentation
DEV_* error codes are being deprecated so hide them from public documentation, to prevent mis-use. Change-Id: Iee2f59502c9470c14ddf2fb1ed19b3526609e43b Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
8285427d21
commit
acc4eafb11
1 changed files with 7 additions and 0 deletions
|
@ -243,6 +243,12 @@ extern struct device_pm_ops device_pm_ops_nop;
|
|||
*/
|
||||
#define DEVICE_DECLARE(name) extern struct device DEVICE_NAME_GET(name)
|
||||
|
||||
/**
|
||||
* @cond DEPRECATED_HIDDEN
|
||||
*
|
||||
* Hide these from showing in public documentation as these are
|
||||
* being deprecated.
|
||||
*/
|
||||
/*
|
||||
* DEPRECATED.
|
||||
*
|
||||
|
@ -256,6 +262,7 @@ extern struct device_pm_ops device_pm_ops_nop;
|
|||
#define DEV_NO_ACCESS (-EACCES) /* Controller not accessible */
|
||||
#define DEV_NO_SUPPORT (-ENODEV) /* Device type not supported */
|
||||
#define DEV_NOT_CONFIG (-EPERM) /* Device not configured */
|
||||
/** @endcond */
|
||||
|
||||
struct device;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue