cleanup: include/: move can.h to drivers/can.h

move can.h to drivers/can.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 15:53:46 -04:00
commit c0c9396d44
15 changed files with 564 additions and 549 deletions

View file

@ -12,7 +12,7 @@
#include <soc.h>
#include <errno.h>
#include <stdbool.h>
#include <can.h>
#include <drivers/can.h>
#include "can_stm32.h"
#include <logging/log.h>