mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 00:11:56 +00:00
move hwinfo.h to drivers/hwinfo.h and create a shim for backward-compatibility. No functional changes to the headers. A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES. Related to #16539 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
13 lines
213 B
C
13 lines
213 B
C
/*
|
|
* Copyright (c) 2018 Alexander Wachter
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <drivers/hwinfo.h>
|
|
|
|
ssize_t __weak z_impl_hwinfo_get_device_id(u8_t *buffer, size_t length)
|
|
{
|
|
return -ENOTSUP;
|
|
}
|