Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91750
b: refs/heads/master
c: cbfa6f2
h: refs/heads/master
v: v3
  • Loading branch information
Tobias Klauser authored and Jesper Juhl committed Apr 21, 2008
1 parent aa1742a commit 4140a49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b1d18dc06ba6b9056f95aaf1f8c464830846f87f
refs/heads/master: cbfa6f2a684e9fb7d6a5025b3893b8f93112683c
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb/frontends/or51132.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static int or51132_writebuf(struct or51132_state *state, const u8 *buf, int len)
Less code and more efficient that loading a buffer on the stack with
the bytes to send and then calling or51132_writebuf() on that. */
#define or51132_writebytes(state, data...) \
({ const static u8 _data[] = {data}; \
({ static const u8 _data[] = {data}; \
or51132_writebuf(state, _data, sizeof(_data)); })

/* Read data from demod into buffer. Returns 0 on success. */
Expand Down Expand Up @@ -132,7 +132,7 @@ static int or51132_readreg(struct or51132_state *state, u8 reg)
static int or51132_load_firmware (struct dvb_frontend* fe, const struct firmware *fw)
{
struct or51132_state* state = fe->demodulator_priv;
const static u8 run_buf[] = {0x7F,0x01};
static const u8 run_buf[] = {0x7F,0x01};
u8 rec_buf[8];
u32 firmwareAsize, firmwareBsize;
int i,ret;
Expand Down

0 comments on commit 4140a49

Please sign in to comment.