From: Tomi Valkeinen Date: Fri, 28 Sep 2012 09:42:28 +0000 (+0300) Subject: OMAPDSS: add omapdss_version X-Git-Tag: omap-for-v3.8/cleanup-headers-signed~19^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acd18af93ad3b99e6769b917fe5b549dc1bfc468;p=pandora-kernel.git 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 --- Reading git-diff-tree failed