summaryrefslogtreecommitdiffstats
path: root/drivers/video/s3c2410fb.c
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2011-05-12 17:26:27 +0530
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-12 19:30:26 +0300
commitf1da39d9ce8490c5652768180454a816eb043b48 (patch)
tree52d301d4804674c45cdddbd5bb66d4aa70fd36b0 /drivers/video/s3c2410fb.c
parenta72b64b99918ee801a3a6abf5391e356752bcad0 (diff)
downloadblackbird-op-linux-f1da39d9ce8490c5652768180454a816eb043b48.tar.gz
blackbird-op-linux-f1da39d9ce8490c5652768180454a816eb043b48.zip
OMAP: DSS2: DSI: Use platform_device pointer to get dsi data
The dsi related data structure currently creates one global instance of itself which is accessed by dsi functions. Remove this global structure instance and declare the struct as dsi_data. Modify dsi_init() to allocate a "dsi_data" structure for each platform device instance. Link this data with the device's platform_device pointer. Create the function dsi_get_dsidrv_data() which takes the pdev and return a pointer to the device's dsi_data. Make dsi_get_dsidev_id() return only 0 for now, this will be removed once the name of the DSI platform device is changed to the device instance form, like "omapdss_dsi.0" and "omapdss_dsi.1" etc. Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/s3c2410fb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud