提交 3e62c413 编写于 作者: M Magnus Damm 提交者: Greg Kroah-Hartman

serial8250-em: Add DT support

Update the 8250_em driver to support DT.
Signed-off-by: NMagnus Damm <damm@opensource.se>
Acked-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 94e792ab
......@@ -163,9 +163,16 @@ static int __devexit serial8250_em_remove(struct platform_device *pdev)
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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册