summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/omap4iss/iss.h
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2015-12-16 11:32:33 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-01-11 12:19:21 -0200
commit6246b2a7ad1ffab5a712c38005b668f3e4ca2825 (patch)
treebcd22814c4febb9da302a707f4f85948534b86ef /drivers/staging/media/omap4iss/iss.h
parentad92b5cf35adc2d3ec0116f4744561d5405a0db7 (diff)
downloadlinux-6246b2a7ad1ffab5a712c38005b668f3e4ca2825.tar.gz
linux-6246b2a7ad1ffab5a712c38005b668f3e4ca2825.tar.bz2
linux-6246b2a7ad1ffab5a712c38005b668f3e4ca2825.zip
[media] staging: v4l: omap4iss: Use media entity enumeration interface
Instead of using a bitmap directly in a driver, use the new media entity enumeration interface to perform the same. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/staging/media/omap4iss/iss.h')
-rw-r--r--drivers/staging/media/omap4iss/iss.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/omap4iss/iss.h b/drivers/staging/media/omap4iss/iss.h
index 5929357fe687..693a8f112960 100644
--- a/drivers/staging/media/omap4iss/iss.h
+++ b/drivers/staging/media/omap4iss/iss.h
@@ -82,7 +82,7 @@ struct iss_reg {
/*
* struct iss_device - ISS device structure.
* @syscon: Regmap for the syscon register space
- * @crashed: Bitmask of crashed entities (indexed by entity ID)
+ * @crashed: Crashed entities
*/
struct iss_device {
struct v4l2_device v4l2_dev;
@@ -101,7 +101,7 @@ struct iss_device {
u64 raw_dmamask;
struct mutex iss_mutex; /* For handling ref_count field */
- unsigned int crashed;
+ struct media_entity_enum crashed;
int has_context;
int ref_count;