leak dt desc for myled

This commit is contained in:
zeroway.lin
2016-07-12 09:31:33 +00:00
parent 5f5f115816
commit fe415b533b

View File

@ -71,6 +71,14 @@ static int myled_probe(struct platform_device *pdev)
return 0;
}
#if 0//需要在DT里root节点下添加myled的节点
/{
myled {
compatible = "myled";
};
}
#endif
static const struct of_device_id myled_dt_ids[] = {
{ .compatible = "myled", .data = NULL, },
{ /* sentinel */ }