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:
Markinus 2010-09-06 00:30:46 +02:00
parent 7677794c9b
commit 7f646a9297

View File

@ -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