Re: [PATCH] drivers/video: use strings to specify the Freescale DIU monitor port

2011-07-09 Thread Tabi Timur-B04825
Anatolij Gustschin wrote: >> >ad->pix_fmt = >> > - diu_ops.get_pixel_format(var->bits_per_pixel, >> > - machine_data->monitor_port); >> > + cpu_to_be32(diu_ops.get_pixel_format(machine_data->monitor_port, >> > +

Re: [PATCH] drivers/video: use strings to specify the Freescale DIU monitor port

2011-07-09 Thread Anatolij Gustschin
On Thu, 7 Jul 2011 11:51:06 -0500 Timur Tabi wrote: > Instead of using ill-defined numbers (0, 1, and 2) for the monitor port, allow > the user to specify the port by name ("dvi", "lvds", or "dlvds"). This works > on the kernel command line, the module command-line, and the sysfs "monitor" > dev