]> git.karo-electronics.de Git - linux-beck.git/commit
OMAPDSS: Features: Maintain dss_feats as a list
authorArchit Taneja <archit@ti.com>
Mon, 30 Jan 2012 05:22:39 +0000 (10:52 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 21 Feb 2012 07:39:20 +0000 (09:39 +0200)
commitc124f23dfdf7da890405dfa0efbeb015cab27b56
tree4e1df2019228046168f47e8a9dc8dd0c399e05e8
parentcd3b34493f9b5de1d617e0be39f6cb5c59c9889c
OMAPDSS: Features: Maintain dss_feats as a list

The number of dss_feat_id members has increased to a large value, the current
way of assigning a subset of these features (for a particular OMAP) as a mask
is no longer feasible.

Maintain the subset of features supported as lists. Make the function
dss_has_feature() traverse through this list.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dss_features.c
drivers/video/omap2/dss/dss_features.h