* [PATCH] x86,mrst: Add mapping for bma023
@ 2011-08-26 12:51 Alan Cox
0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2011-08-26 12:51 UTC (permalink / raw)
To: x86, linux-kernel
From: William Douglas <william.douglas@intel.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@intel.com>
Signed-off-by: Alan Cox <alan@linux.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},
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-26 12:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-26 12:51 [PATCH] x86,mrst: Add mapping for bma023 Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox