lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 09 May 2012 23:39:50 +0900 From: Magnus Damm <magnus.damm@...il.com> To: linux-kernel@...r.kernel.org Cc: arnd@...db.de, horms@...ge.net.au, linux-sh@...r.kernel.org, johnstul@...ibm.com, rjw@...k.pl, lethal@...ux-sh.org, gregkh@...uxfoundation.org, olof@...om.net, Magnus Damm <magnus.damm@...il.com>, tglx@...utronix.de Subject: [PATCH 03/03] clocksource: em_sti: Add DT support From: Magnus Damm <damm@...nsource.se> Update the em-sti driver to support DT. Signed-off-by: Magnus Damm <damm@...nsource.se> --- drivers/clocksource/em_sti.c | 7 +++++++ 1 file changed, 7 insertions(+) --- 0015/drivers/clocksource/em_sti.c +++ work/drivers/clocksource/em_sti.c 2012-05-09 22:52:47.000000000 +0900 @@ -403,11 +403,18 @@ static int __devexit em_sti_remove(struc return -EBUSY; /* cannot unregister clockevent and clocksource */ } +static const struct of_device_id em_sti_dt_ids[] __devinitconst = { + { .compatible = "renesas,em-sti", }, + {}, +}; +MODULE_DEVICE_TABLE(of, em_sti_dt_ids); + static struct platform_driver em_sti_device_driver = { .probe = em_sti_probe, .remove = __devexit_p(em_sti_remove), .driver = { .name = "em_sti", + .of_match_table = em_sti_dt_ids, } }; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists