[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20110826125131.5316.18229.stgit@localhost.localdomain>
Date: Fri, 26 Aug 2011 13:51:47 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] x86,mrst: Add mapping for bma023
From: William Douglas <william.douglas@...el.com>
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 <william.douglas@...el.com>
Signed-off-by: Alan Cox <alan@...ux.intel.com>
---
arch/x86/platform/mrst/mrst.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/x86/platform/mrst/mrst.c b/arch/x86/platform/mrst/mrst.c
index cb6aa34..38dc8a8 100644
--- a/arch/x86/platform/mrst/mrst.c
+++ b/arch/x86/platform/mrst/mrst.c
@@ -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},
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists