cleanup: include/: move crc.h to sys/crc.h

move crc.h to sys/crc.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>
This commit is contained in:
Anas Nashif 2019-06-25 12:25:56 -04:00
commit 4e48e87fd2
12 changed files with 198 additions and 183 deletions

View file

@ -12,7 +12,7 @@ LOG_MODULE_REGISTER(sdhc, CONFIG_DISK_LOG_LEVEL);
#include <gpio.h>
#include <misc/byteorder.h>
#include <spi.h>
#include <crc.h>
#include <sys/crc.h>
#define SDHC_SECTOR_SIZE 512
#define SDHC_CMD_SIZE 6