OMAPDSS: RFBI: Maintain copy of number of data lines in driver data
authorArchit Taneja <archit@ti.com>
Mon, 13 Aug 2012 09:58:15 +0000 (15:28 +0530)
committerArchit Taneja <archit@ti.com>
Thu, 16 Aug 2012 12:30:54 +0000 (18:00 +0530)
commit475989b763668f0794d6a8ee34a1ca0e784831e2
tree29034bc47a822f28326b62b3e6523a931c6294f1
parentb02875be08fd2ca7a195154c9f1c538508ca0d5a
OMAPDSS: RFBI: Maintain copy of number of data lines in driver data

The RFBI driver currently relies on the omap_dss_device struct to configure the
number of data lines as specified by the panel. This makes the RFBI interface
driver dependent on the omap_dss_device struct.

Make the RFBI driver data maintain it's own data lines field. A panel driver
is expected to call omapdss_rfbi_set_data_lines() to configure the pixel format
before enabling the interface or calling omap_rfbi_configure().

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/displays/panel-n8x0.c
drivers/video/omap2/dss/rfbi.c
include/video/omapdss.h