diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-09-28 12:42:28 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-10-16 13:43:56 +0300 |
commit | acd18af93ad3b99e6769b917fe5b549dc1bfc468 (patch) | |
tree | 5f48050c869c8d36135c1685ddc869776cc6f751 /arch/openrisc/lib | |
parent | ddffeb8c4d0331609ef2581d84de4d763607bd37 (diff) | |
download | linux-next-acd18af93ad3b99e6769b917fe5b549dc1bfc468.tar.gz |
OMAPDSS: add omapdss_version
Add new enum, omapdss_version, that is used to tell which DSS hardware
version the SoC has. This enum is initialized during platform init, and
passed in the platform data to omapdss driver.
Note that the versions are not "continuous", that is, you cannot check
if the version is less or greater than something, but you need to check
for exact version match. In other words, this is invalid:
/* test if DSS is 3630 or earlier */
if (ver <= OMAPDSS_VER_OMAP3630)
...
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'arch/openrisc/lib')
0 files changed, 0 insertions, 0 deletions