summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/rfbi.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-03-09 15:07:39 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-05-11 13:54:41 +0200
commit11ee9606407031827d43ecde8e62a418ac3b4f83 (patch)
treeca384f9c195ff7a124b9c0c587231389c98e2f1f /drivers/video/omap2/dss/rfbi.c
parentOMAPDSS: init omap_dss_devices internally (diff)
downloadlinux-11ee9606407031827d43ecde8e62a418ac3b4f83.tar.xz
linux-11ee9606407031827d43ecde8e62a418ac3b4f83.zip
OMAPDSS: DSI: improve DSI module id handling
We currently use the id of the dsi platform device (dsidev->id) as the DSI hardware module ID. This works because we assign the ID manually in arch/arm/mach-omap2/display.c at boot time. However, with device tree the platform device IDs are automatically assigned to an arbitrary number, and we can't use it. Instead of using dsidev->id during operation, this patch stores the value of dsidev->id to a private field of the dsi driver at probe(). The future device tree code can thus set the private field with some other way. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/rfbi.c')
0 files changed, 0 insertions, 0 deletions