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

@ -5,7 +5,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <counter.h>
#include <drivers/counter.h>
#include <fsl_rtc.h>
#include <logging/log.h>