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, 8 Aug 2012 13:39:21 +1200 From: Tony Prisk <linux@...sktech.co.nz> To: vt8500-wm8505-linux-kernel@...glegroups.com Cc: Tony Prisk <linux@...sktech.co.nz>, Russell King <linux@....linux.org.uk>, Arnd Bergmann <arnd@...db.de>, Alessandro Zummo <a.zummo@...ertech.it>, Grant Likely <grant.likely@...retlab.ca>, Rob Herring <rob.herring@...xeda.com>, Alan Cox <alan@...ux.intel.com>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Alan Stern <stern@...land.harvard.edu>, Hauke Mehrtens <hauke@...ke-m.de>, Felipe Balbi <balbi@...com>, Neil Zhang <zhangwm@...vell.com>, Florian Tobias Schandinat <FlorianSchandinat@....de>, Rob Landley <rob@...dley.net>, Mark Brown <broonie@...nsource.wolfsonmicro.com>, Stephen Warren <swarren@...dia.com>, Eric Andersson <eric.andersson@...xphere.com>, Linus Walleij <linus.walleij@...ricsson.com>, linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org, linux-fbdev@...r.kernel.org, linux-usb@...r.kernel.org, linux-serial@...r.kernel.org, rtc-linux@...glegroups.com, devicetree-discuss@...ts.ozlabs.org Subject: [PATCH 3/8] serial: vt8500: Add devicetree support for vt8500-serial Signed-off-by: Tony Prisk <linux@...sktech.co.nz> --- drivers/tty/serial/vt8500_serial.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c index 2be006f..a7f58c9 100644 --- a/drivers/tty/serial/vt8500_serial.c +++ b/drivers/tty/serial/vt8500_serial.c @@ -34,6 +34,7 @@ #include <linux/slab.h> #include <linux/clk.h> #include <linux/platform_device.h> +#include <linux/of.h> /* * UART Register offsets @@ -603,12 +604,18 @@ static int __devexit vt8500_serial_remove(struct platform_device *pdev) return 0; } +static const struct of_device_id wmt_dt_ids[] = { + { .compatible = "via,vt8500-uart", }, + {} +}; + static struct platform_driver vt8500_platform_driver = { .probe = vt8500_serial_probe, .remove = __devexit_p(vt8500_serial_remove), .driver = { .name = "vt8500_serial", .owner = THIS_MODULE, + .of_match_table = of_match_ptr(wmt_dt_ids), }, }; -- 1.7.9.5 -- 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