BigW Consortium Gitlab

Commit dd5fd3b2 by David Frey

Provide platform data for lsm6ds3

Provide platform data for the lsm6ds3 accelerometer Linux kernel driver since the platform data type definition did not appear to be present in the upstream repository.
parent fd0b04a0
......@@ -27,6 +27,7 @@
#endif
#include "lsm6ds3_core.h"
#include "lsm6ds3_platform_data.h"
/* COMMON VALUES FOR ACCEL-GYRO SENSORS */
#define LSM6DS3_WHO_AM_I 0x0f
......
#ifndef LSM6DS3_PLATFORM_DATA_H
#define LSM6DS3_PLATFORM_DATA_H
struct lsm6ds3_platform_data {
int drdy_int_pin;
};
#endif // LSM6DS3_PLATFORM_DATA_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment