diff options
author | HeungJun, Kim <riverful.kim@samsung.com> | 2011-06-07 01:59:44 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-06-11 09:45:55 -0300 |
commit | a6354d2e5da646926ce492b66b527a1efc39cd27 (patch) | |
tree | 1f4f18c5a1a1979775316e37624e8ad4a866f1c0 /drivers/media/video/m5mols/m5mols.h | |
parent | 57644f56234a154afffd0f4d53becf8ff4a55b41 (diff) | |
download | lwn-a6354d2e5da646926ce492b66b527a1efc39cd27.tar.gz lwn-a6354d2e5da646926ce492b66b527a1efc39cd27.zip |
[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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/m5mols/m5mols.h b/drivers/media/video/m5mols/m5mols.h index dbe8928855de..9ae170935871 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 |