Skip to content

Commit

Permalink
drivers/staging/crystalhd/: Fix a coding style issues
Browse files Browse the repository at this point in the history
crystalhd_fw_if.h: indentation fix (spaces to tabs)
The rest are brackets.

NOTE: there are quite some 80 character warnings, but they look in place,
comments mostly on the right next to the constants and stuff like that. I
haven't touched them, since this rule is 'going away', but in case you would
like it to be fixed, let me know.

I'm sending 2 patches, but it they aren't connected in any way, so doesn't
matter the apply order. It's just a cleanup.

P.S sorry for the first lame patches a couple of days ago

Signed-off-by: Arvydas Sidorenko <asido4@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Arvydas Sidorenko authored and Greg Kroah-Hartman committed Sep 12, 2011
1 parent 41344f6 commit 831e5ba
Show file tree
Hide file tree
Showing 5 changed files with 275 additions and 275 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/crystalhd/bc_dts_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ enum BC_SW_OPTIONS {
BC_OPT_LINK_OUT_ENCRYPT = BC_BIT(29),
};

struct BC_REG_CONFIG{
struct BC_REG_CONFIG {
uint32_t DbgOptions;
};

Expand Down Expand Up @@ -391,7 +391,7 @@ struct BC_PIC_INFO_BLOCK {
* ProcOut Info *
*------------------------------------------------------*/
/* Optional flags for ProcOut Interface.*/
enum POUT_OPTIONAL_IN_FLAGS_{
enum POUT_OPTIONAL_IN_FLAGS_ {
/* Flags from App to Device */
BC_POUT_FLAGS_YV12 = 0x01, /* Copy Data in YV12 format */
BC_POUT_FLAGS_STRIDE = 0x02, /* Stride size is valid. */
Expand Down
6 changes: 3 additions & 3 deletions drivers/staging/crystalhd/bc_dts_glob_lnx.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ struct BC_DEC_YUV_BUFFS {
uint32_t RefCnt;
};

enum DECOUT_COMPLETION_FLAGS{
enum DECOUT_COMPLETION_FLAGS {
COMP_FLAG_NO_INFO = 0x00,
COMP_FLAG_FMT_CHANGE = 0x01,
COMP_FLAG_PIB_VALID = 0x02,
Expand All @@ -184,7 +184,7 @@ enum DECOUT_COMPLETION_FLAGS{
COMP_FLAG_DATA_BOT = 0x10,
};

struct BC_DEC_OUT_BUFF{
struct BC_DEC_OUT_BUFF {
struct BC_DEC_YUV_BUFFS OutPutBuffs;
struct BC_PIC_INFO_BLOCK PibInfo;
uint32_t Flags;
Expand Down Expand Up @@ -289,7 +289,7 @@ struct crystalhd_ioctl_data {
struct crystalhd_ioctl_data *next; /* List/Fifo management */
};

enum crystalhd_kmod_ver{
enum crystalhd_kmod_ver {
crystalhd_kmod_major = 0,
crystalhd_kmod_minor = 9,
crystalhd_kmod_rev = 27,
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/crystalhd/crystalhd_cmds.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include "crystalhd_misc.h"
#include "crystalhd_hw.h"

enum crystalhd_state{
enum crystalhd_state {
BC_LINK_INVALID = 0x00,
BC_LINK_INIT = 0x01,
BC_LINK_CAP_EN = 0x02,
Expand Down
Loading

0 comments on commit 831e5ba

Please sign in to comment.