Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1432500
| From | Keerthy <j-keerthy@ti.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v3 03/10] input: tps65218-pwrbutton: Add platform_device_id table |
| Date | 2016-06-28 08:10 +0200 |
| Message-ID | <rOUnE-328-11@gated-at.bofh.it> (permalink) |
| References | <rOUnD-328-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
platform_device_id table is needed for adding the tps65218-pwrbutton
module to the mfd_cell array.
Signed-off-by: Keerthy <j-keerthy@ti.com>
---
drivers/input/misc/tps65218-pwrbutton.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/input/misc/tps65218-pwrbutton.c b/drivers/input/misc/tps65218-pwrbutton.c
index 2bba8de..a0cb7d2 100644
--- a/drivers/input/misc/tps65218-pwrbutton.c
+++ b/drivers/input/misc/tps65218-pwrbutton.c
@@ -113,12 +113,19 @@ static const struct of_device_id of_tps65218_pwr_match[] = {
};
MODULE_DEVICE_TABLE(of, of_tps65218_pwr_match);
+static const struct platform_device_id tps65218_pwrbtn_id_table[] = {
+ { "tps65218-pwrbutton", },
+ { /* sentinel */ }
+}
+MODULE_DEVICE_TABLE(platform, tps65218_pwrbtn_id_table);
+
static struct platform_driver tps65218_pwron_driver = {
.probe = tps65218_pwron_probe,
.driver = {
.name = "tps65218_pwrbutton",
.of_match_table = of_tps65218_pwr_match,
},
+ .id_table = tps65218_pwrbtn_id_table,
};
module_platform_driver(tps65218_pwron_driver);
--
1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3 00/10] mfd: tps65218: Clean ups Keerthy <j-keerthy@ti.com> - 2016-06-28 08:10 +0200
[PATCH v3 07/10] ARM: dts: AM437X-GP-EVM: Remove redundant regulator compatibles Keerthy <j-keerthy@ti.com> - 2016-06-28 08:10 +0200
[PATCH v3 10/10] ARM: dts: AM43X-EPOS-EVM: Remove redundant regulator compatibles Keerthy <j-keerthy@ti.com> - 2016-06-28 08:10 +0200
[PATCH v3 03/10] input: tps65218-pwrbutton: Add platform_device_id table Keerthy <j-keerthy@ti.com> - 2016-06-28 08:10 +0200
Re: [PATCH v3 03/10] input: tps65218-pwrbutton: Add platform_device_id table Lee Jones <lee.jones@linaro.org> - 2016-06-28 08:50 +0200
Re: [PATCH v3 03/10] input: tps65218-pwrbutton: Add platform_device_id table Keerthy <a0393675@ti.com> - 2016-06-28 09:00 +0200
Re: [PATCH v3 03/10] input: tps65218-pwrbutton: Add platform_device_id table Lee Jones <lee.jones@linaro.org> - 2016-06-28 09:50 +0200
Re: [PATCH v3 03/10] input: tps65218-pwrbutton: Add platform_device_id table Keerthy <a0393675@ti.com> - 2016-06-28 09:50 +0200
[PATCH v3 05/10] regulator: tps65218: Remove all the compatibles Keerthy <j-keerthy@ti.com> - 2016-06-28 08:10 +0200
[PATCH v3 09/10] ARM: dts: AM437X-CM-T43: Remove redundant regulator compatibles Keerthy <j-keerthy@ti.com> - 2016-06-28 08:10 +0200
[PATCH v3 08/10] ARM: dts: AM437X-SK-EVM: Remove redundant regulator compatibles Keerthy <j-keerthy@ti.com> - 2016-06-28 08:10 +0200
[PATCH v3 01/10] mfd: tps65218: Remove redundant read wrapper Keerthy <j-keerthy@ti.com> - 2016-06-28 08:10 +0200
Re: [PATCH v3 01/10] mfd: tps65218: Remove redundant read wrapper Lee Jones <lee.jones@linaro.org> - 2016-06-28 09:10 +0200
Re: [PATCH v3 01/10] mfd: tps65218: Remove redundant read wrapper Keerthy <a0393675@ti.com> - 2016-06-28 09:10 +0200
[PATCH v3 06/10] gpio: tps65218: Remove the compatible Keerthy <j-keerthy@ti.com> - 2016-06-28 08:10 +0200
Re: [PATCH v3 06/10] gpio: tps65218: Remove the compatible Lee Jones <lee.jones@linaro.org> - 2016-06-28 09:00 +0200
Re: [PATCH v3 06/10] gpio: tps65218: Remove the compatible Keerthy <a0393675@ti.com> - 2016-06-28 09:10 +0200
[PATCH v3 04/10] mfd: tps65218: Use mfd_add_devices instead of of_platform_populate Keerthy <j-keerthy@ti.com> - 2016-06-28 08:20 +0200
Re: [PATCH v3 04/10] mfd: tps65218: Use mfd_add_devices instead of of_platform_populate Lee Jones <lee.jones@linaro.org> - 2016-06-28 09:00 +0200
[PATCH v3 02/10] Documentation: regulator: tps65218: Update examples Keerthy <j-keerthy@ti.com> - 2016-06-28 08:20 +0200
Re: [PATCH v3 02/10] Documentation: regulator: tps65218: Update examples Lee Jones <lee.jones@linaro.org> - 2016-06-28 09:00 +0200
Re: [PATCH v3 02/10] Documentation: regulator: tps65218: Update examples Keerthy <a0393675@ti.com> - 2016-06-28 09:50 +0200
csiph-web