projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28744b3
)
x86, mrst: Change the pmic_gpio device type to IPC
author
Feng Tang
<feng.tang@intel.com>
Wed, 16 Nov 2011 18:32:34 +0000
(18:32 +0000)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 5 Dec 2011 11:42:15 +0000
(12:42 +0100)
In latest firmware's SFI tables, pmic_gpio has been set to
IPC type of device, so we need handle it too.
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/platform/mrst/mrst.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/platform/mrst/mrst.c
b/arch/x86/platform/mrst/mrst.c
index 940a0807a5ca675744a71fb1c3d9d4ab2a131274..ad4ec1cb097ecfae17e4a99aed37cf985b03cb78 100644
(file)
--- a/
arch/x86/platform/mrst/mrst.c
+++ b/
arch/x86/platform/mrst/mrst.c
@@
-689,6
+689,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},
+ {"pmic_gpio", SFI_DEV_TYPE_IPC, 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},
{"i2c_max7315_2", SFI_DEV_TYPE_I2C, 1, &max7315_platform_data},