From 7f646a9297b572268cd41181628818c5cb2a7560 Mon Sep 17 00:00:00 2001 From: Markinus Date: Mon, 6 Sep 2010 00:30:46 +0200 Subject: [PATCH] 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. --- include/linux/bma150.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/bma150.h b/include/linux/bma150.h index d150a3e7..d1bf5dc2 100644 --- a/include/linux/bma150.h +++ b/include/linux/bma150.h @@ -7,7 +7,11 @@ #include #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