* [PATCH] serial8250-em: Add DT support
@ 2012-05-09 6:55 Magnus Damm
2012-05-09 11:21 ` Arnd Bergmann
0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2012-05-09 6:55 UTC (permalink / raw)
To: linux-serial
Cc: horms, arnd, linux-sh, gregkh, swarren, linux-kernel, rjw,
paul.gortmaker, lethal, olof, Magnus Damm, dan.j.williams, alan
From: Magnus Damm <damm@opensource.se>
Update the 8250_em driver to support DT.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
Applies of top of "[PATCH] serial8250-em: Emma Mobile UART driver V2"
(included in linux-next 20120508) and the recently posted
"[PATCH] serial8250-em: clk_get() IS_ERR() error handling fix".
drivers/tty/serial/8250/8250_em.c | 7 +++++++
1 file changed, 7 insertions(+)
--- 0002/drivers/tty/serial/8250/8250_em.c
+++ work/drivers/tty/serial/8250/8250_em.c 2012-05-09 15:39:22.000000000 +0900
@@ -163,9 +163,16 @@ static int __devexit serial8250_em_remov
return 0;
}
+static const struct of_device_id serial8250_em_dt_ids[] __devinitconst = {
+ { .compatible = "renesas,em-uart", },
+ {},
+};
+MODULE_DEVICE_TABLE(of, serial8250_em_dt_ids);
+
static struct platform_driver serial8250_em_platform_driver = {
.driver = {
.name = "serial8250-em",
+ .of_match_table = serial8250_em_dt_ids,
.owner = THIS_MODULE,
},
.probe = serial8250_em_probe,
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] serial8250-em: Add DT support
2012-05-09 6:55 [PATCH] serial8250-em: Add DT support Magnus Damm
@ 2012-05-09 11:21 ` Arnd Bergmann
0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2012-05-09 11:21 UTC (permalink / raw)
To: Magnus Damm
Cc: linux-serial, horms, linux-sh, gregkh, swarren, linux-kernel, rjw,
paul.gortmaker, lethal, olof, dan.j.williams, alan
On Wednesday 09 May 2012, Magnus Damm wrote:
>
> From: Magnus Damm <damm@opensource.se>
>
> Update the 8250_em driver to support DT.
>
> Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Arnd Bergmann <arnd@arndb.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-09 11:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-09 6:55 [PATCH] serial8250-em: Add DT support Magnus Damm
2012-05-09 11:21 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox