drivers: sensor: Fix missing DT_DRV_COMPAT
Some sensor drivers modify there struct's based on DT defines. In those cases we need to make sure that DT_DRV_COMPAT is set on all the source files associated with that driver. This updates any such files. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
c8e3b1f68b
commit
762b521931
13 changed files with 26 additions and 0 deletions
|
@ -8,6 +8,8 @@
|
|||
* https://www.st.com/resource/en/datasheet/iis3dhhc.pdf
|
||||
*/
|
||||
|
||||
#define DT_DRV_COMPAT st_iis3dhhc
|
||||
|
||||
#include <kernel.h>
|
||||
#include <drivers/sensor.h>
|
||||
#include <drivers/gpio.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue