Date:2013-05-04 13:33:43 (7 years 2 months ago)
Author:Lars C.
Commit:4ea438f3782f477173efc21e4a0d57654613a2fd
Message:usb: jz4740-udc: Add devicetree support

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Files: drivers/usb/gadget/jz4740_udc.c (2 diffs)

Change Details

drivers/usb/gadget/jz4740_udc.c
21262126#define JZ4740_UDC_PM_OPS NULL
21272127#endif
21282128
2129static const struct of_device_id jz4740_udc_of_match[] = {
2130    { .compatible = "ingenic,jz4740-udc" },
2131    {},
2132};
2133MODULE_DEVICE_TABLE(of, jz4740_udc_of_match);
2134
21292135static struct platform_driver udc_driver = {
21302136    .probe = jz4740_udc_probe,
21312137    .remove = jz4740_udc_remove,
...... 
21332139        .name = "jz-udc",
21342140        .owner = THIS_MODULE,
21352141        .pm = JZ4740_UDC_PM_OPS,
2142        .of_match_table = jz4740_udc_of_match,
21362143    },
21372144};
21382145

Archive Download the corresponding diff file



interactive