htcleo: fix the gsonsor to work with the userspace from other Leo Builds The device name here was a other one as in other Leo repo.
This commit is contained in:
parent
7677794c9b
commit
7f646a9297
@ -7,7 +7,11 @@
|
||||
#include <linux/ioctl.h>
|
||||
|
||||
#define BMA150_I2C_NAME "bma150"
|
||||
#ifdef CONFIG_MACH_HTCLEO
|
||||
#define BMA150_G_SENSOR_NAME "bma150" // To be compatible with other userspace
|
||||
#else
|
||||
#define BMA150_G_SENSOR_NAME "bma150_uP_spi"
|
||||
#endif
|
||||
|
||||
#define BMAIO 0xA1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user