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

move counter.h to drivers/counter.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:48 -04:00
commit 7e7a9bdf88
22 changed files with 539 additions and 524 deletions

View file

@ -11,7 +11,7 @@
* crossing clock domains (no pun intended). Use accordingly.
*/
#include <counter.h>
#include <drivers/counter.h>
#include <device.h>
#include <soc.h>