mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 00:51:29 +00:00
Merge pull request #423 from jcastillo-arm/jc/genfw/1211
Remove deprecated IO return definitions
This commit is contained in:
@@ -89,15 +89,6 @@ typedef struct io_block_spec {
|
||||
#define IO_MODE_RW (1 << 1)
|
||||
|
||||
|
||||
/* Return codes reported by 'io_*' APIs.
|
||||
* IMPORTANT: these definitions are deprecated. Callers should use standard
|
||||
* errno definitions when checking the return value of io_* APIs. */
|
||||
#define IO_SUCCESS (0)
|
||||
#define IO_FAIL (-ENOENT)
|
||||
#define IO_NOT_SUPPORTED (-ENODEV)
|
||||
#define IO_RESOURCES_EXHAUSTED (-ENOMEM)
|
||||
|
||||
|
||||
/* Open a connection to a device */
|
||||
int io_dev_open(const struct io_dev_connector *dev_con,
|
||||
const uintptr_t dev_spec,
|
||||
|
||||
Reference in New Issue
Block a user