Skip to contentSkip to conversation

x86,mrst: Add mapping for bma023

PATCH New Alan Cox 1 participant 1 message Aug 26, 2011 x86

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 x86,mrst: Add mapping for bma023

From: William Douglas <[email protected]>

There is now an upstream bma023 driver so instead of submitting ours we use that one. The defaults are just fine so it's a simple mapping entry.

(Thanks go to Erik Andersson for incorporating the changes we needed into his
version)

---

 arch/x86/platform/mrst/mrst.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/x86/platform/mrst/mrst.c +1 -0
index cb6aa34..38dc8a8 100644
@@ -498,6 +498,7 @@ static void __init *no_platform_data(void *info)
 }
 
 static const struct devs_id __initconst device_ids[] = {
+	{"bma023", SFI_DEV_TYPE_I2C, 1, &no_platform_data},
 	{"pmic_gpio", SFI_DEV_TYPE_SPI, 1, &pmic_gpio_platform_data},
 	{"spi_max3111", SFI_DEV_TYPE_SPI, 0, &max3111_platform_data},
 	{"i2c_max7315", SFI_DEV_TYPE_I2C, 1, &max7315_platform_data},