[media] s5p-mfc: Fix checkpatch error in s5p_mfc_shm.h file

Message ID 1339412322-15524-1-git-send-email-sachin.kamat@linaro.org (mailing list archive)
State Superseded, archived
Headers

Commit Message

Sachin Kamat June 11, 2012, 10:58 a.m. UTC
  Fixes the following error:
ERROR: open brace '{' following enum go on the same line
+enum MFC_SHM_OFS
+{

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/media/video/s5p-mfc/s5p_mfc_shm.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
  

Comments

Kamil Debski June 13, 2012, 12:11 p.m. UTC | #1
Hi,

Thanks for the patch.

Best wishes,
Kamil Debski

> From: Sachin Kamat [mailto:sachin.kamat@linaro.org]
> Sent: 11 June 2012 12:59
> 
> Fixes the following error:
> ERROR: open brace '{' following enum go on the same line
> +enum MFC_SHM_OFS
> +{
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Acked-by: Kamil Debski <k.debski@samsung.com>

> ---
>  drivers/media/video/s5p-mfc/s5p_mfc_shm.h |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/media/video/s5p-mfc/s5p_mfc_shm.h
> b/drivers/media/video/s5p-mfc/s5p_mfc_shm.h
> index 764eac6..cf962a4 100644
> --- a/drivers/media/video/s5p-mfc/s5p_mfc_shm.h
> +++ b/drivers/media/video/s5p-mfc/s5p_mfc_shm.h
> @@ -13,8 +13,7 @@
>  #ifndef S5P_MFC_SHM_H_
>  #define S5P_MFC_SHM_H_
> 
> -enum MFC_SHM_OFS
> -{
> +enum MFC_SHM_OFS {
>  	EXTENEDED_DECODE_STATUS	= 0x00,	/* D */
>  	SET_FRAME_TAG		= 0x04, /* D */
>  	GET_FRAME_TAG_TOP	= 0x08, /* D */
> --
> 1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  

Patch

diff --git a/drivers/media/video/s5p-mfc/s5p_mfc_shm.h b/drivers/media/video/s5p-mfc/s5p_mfc_shm.h
index 764eac6..cf962a4 100644
--- a/drivers/media/video/s5p-mfc/s5p_mfc_shm.h
+++ b/drivers/media/video/s5p-mfc/s5p_mfc_shm.h
@@ -13,8 +13,7 @@ 
 #ifndef S5P_MFC_SHM_H_
 #define S5P_MFC_SHM_H_
 
-enum MFC_SHM_OFS
-{
+enum MFC_SHM_OFS {
 	EXTENEDED_DECODE_STATUS	= 0x00,	/* D */
 	SET_FRAME_TAG		= 0x04, /* D */
 	GET_FRAME_TAG_TOP	= 0x08, /* D */