diff options
author | Aybuke Ozdemir <aybuke.147@gmail.com> | 2014-09-17 17:54:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-19 20:42:15 -0400 |
commit | fcf1b73d08cd15912205f3b259ea81ccfde11970 (patch) | |
tree | 61c4fc6d1d17992c9660d9d4601207ca36ef3fe1 | |
parent | c2e91542695270452ea7b5d3266ad0e9b5dc7bdb (diff) |
Staging: media: cxd2099: Missing a blank line after declarations
Fix checkpatch.pl issues with missing a blank
line after declarations in cxd2099.c
Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/media/cxd2099/cxd2099.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/media/cxd2099/cxd2099.c b/drivers/staging/media/cxd2099/cxd2099.c index a2a5182570c5..73e7b2c9e4a7 100644 --- a/drivers/staging/media/cxd2099/cxd2099.c +++ b/drivers/staging/media/cxd2099/cxd2099.c | |||
@@ -152,6 +152,7 @@ static int write_pccard(struct cxd *ci, u16 address, u8 *data, u8 n) | |||
152 | status = i2c_write(ci->i2c, ci->cfg.adr, addr, 3); | 152 | status = i2c_write(ci->i2c, ci->cfg.adr, addr, 3); |
153 | if (!status) { | 153 | if (!status) { |
154 | u8 buf[256] = {3}; | 154 | u8 buf[256] = {3}; |
155 | |||
155 | memcpy(buf+1, data, n); | 156 | memcpy(buf+1, data, n); |
156 | status = i2c_write(ci->i2c, ci->cfg.adr, buf, n+1); | 157 | status = i2c_write(ci->i2c, ci->cfg.adr, buf, n+1); |
157 | } | 158 | } |
@@ -201,6 +202,7 @@ static int write_io_data(struct cxd *ci, u8 *data, u8 n) | |||
201 | status = i2c_write(ci->i2c, ci->cfg.adr, addr, 3); | 202 | status = i2c_write(ci->i2c, ci->cfg.adr, addr, 3); |
202 | if (!status) { | 203 | if (!status) { |
203 | u8 buf[256] = {3}; | 204 | u8 buf[256] = {3}; |
205 | |||
204 | memcpy(buf+1, data, n); | 206 | memcpy(buf+1, data, n); |
205 | status = i2c_write(ci->i2c, ci->cfg.adr, buf, n + 1); | 207 | status = i2c_write(ci->i2c, ci->cfg.adr, buf, n + 1); |
206 | } | 208 | } |
@@ -448,6 +450,7 @@ static int read_attribute_mem(struct dvb_ca_en50221 *ca, | |||
448 | return ci->amem[address]; | 450 | return ci->amem[address]; |
449 | #else | 451 | #else |
450 | u8 val; | 452 | u8 val; |
453 | |||
451 | mutex_lock(&ci->lock); | 454 | mutex_lock(&ci->lock); |
452 | set_mode(ci, 1); | 455 | set_mode(ci, 1); |
453 | read_pccard(ci, address, &val, 1); | 456 | read_pccard(ci, address, &val, 1); |