From d0fd7e0367387ed97adc7ee0fab9ff3833d3e5d3 Mon Sep 17 00:00:00 2001 From: William Douglas Date: Wed, 5 Oct 2011 11:42:26 +1100 Subject: [PATCH] x86,mrst: add mapping for bma023 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) Signed-off-by: William Douglas Signed-off-by: Alan Cox Cc: Ingo Molnar Cc: Thomas Gleixner Cc: "H. Peter Anvin" Signed-off-by: Andrew Morton --- arch/x86/platform/mrst/mrst.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/platform/mrst/mrst.c b/arch/x86/platform/mrst/mrst.c index 40ad3b83fddc..cdd9043dab02 100644 --- a/arch/x86/platform/mrst/mrst.c +++ b/arch/x86/platform/mrst/mrst.c @@ -608,6 +608,7 @@ static void *msic_ocd_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}, -- 2.39.5