int omapdss_register_output(struct omap_dss_device *out)
{
- list_add_tail(&out->list, &output_list);
+ list_add_tail(&out->output_list, &output_list);
return 0;
}
EXPORT_SYMBOL(omapdss_register_output);
void omapdss_unregister_output(struct omap_dss_device *out)
{
- list_del(&out->list);
+ list_del(&out->output_list);
}
EXPORT_SYMBOL(omapdss_unregister_output);
{
struct omap_dss_device *out;
- list_for_each_entry(out, &output_list, list) {
+ list_for_each_entry(out, &output_list, output_list) {
if (out->dev->of_node == node)
return true;
}
{
struct omap_dss_device *out;
- list_for_each_entry(out, &output_list, list) {
+ list_for_each_entry(out, &output_list, output_list) {
if (out->id == id)
return out;
}
reg = dss_of_port_get_port_number(port);
- list_for_each_entry(out, &output_list, list) {
+ list_for_each_entry(out, &output_list, output_list) {
if (out->dev->of_node == src_node && out->port_num == reg) {
of_node_put(src_node);
return omap_dss_get_device(out);