summaryrefslogtreecommitdiff
path: root/drivers/media/video/m5mols/m5mols.h
diff options
context:
space:
mode:
authorHeungJun, Kim <riverful.kim@samsung.com>2011-06-07 04:59:44 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-06-11 12:45:55 (GMT)
commita6354d2e5da646926ce492b66b527a1efc39cd27 (patch)
tree1f4f18c5a1a1979775316e37624e8ad4a866f1c0 /drivers/media/video/m5mols/m5mols.h
parent57644f56234a154afffd0f4d53becf8ff4a55b41 (diff)
downloadlinux-a6354d2e5da646926ce492b66b527a1efc39cd27.tar.xz
[media] m5mols: remove union in the m5mols_get_version(), and VERSION_SIZE
Remove union version in the m5mols_get_version(), and read version information directly. Also remove VERSION_SIZE. Signed-off-by: HeungJun, Kim <riverful.kim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/m5mols/m5mols.h')
-rw-r--r--drivers/media/video/m5mols/m5mols.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/m5mols/m5mols.h b/drivers/media/video/m5mols/m5mols.h
index dbe8928..9ae1709 100644
--- a/drivers/media/video/m5mols/m5mols.h
+++ b/drivers/media/video/m5mols/m5mols.h
@@ -154,7 +154,6 @@ struct m5mols_version {
u8 str[VERSION_STRING_SIZE];
u8 af;
};
-#define VERSION_SIZE sizeof(struct m5mols_version)
/**
* struct m5mols_info - M-5MOLS driver data structure