Commit 81260e6d authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] dvb: Minor Skystar2 updates

From: Michael Hunold <hunold@linuxtv.org>

skystar2: renamed two functions, deleted spurious spaces.
parent 9d01ccfc
...@@ -500,7 +500,7 @@ static void flex_sram_read(struct adapter *adapter, u32 bank, u32 addr, u8 *buf, ...@@ -500,7 +500,7 @@ static void flex_sram_read(struct adapter *adapter, u32 bank, u32 addr, u8 *buf,
} }
} }
static void sram_writeChunk(struct adapter *adapter, u32 addr, u8 *buf, u16 len) static void sram_write_chunk(struct adapter *adapter, u32 addr, u8 *buf, u16 len)
{ {
u32 bank; u32 bank;
...@@ -520,7 +520,7 @@ static void sram_writeChunk(struct adapter *adapter, u32 addr, u8 *buf, u16 len) ...@@ -520,7 +520,7 @@ static void sram_writeChunk(struct adapter *adapter, u32 addr, u8 *buf, u16 len)
flex_sram_write(adapter, bank, addr & 0x7fff, buf, len); flex_sram_write(adapter, bank, addr & 0x7fff, buf, len);
} }
static void sram_readChunk(struct adapter *adapter, u32 addr, u8 *buf, u16 len) static void sram_read_chunk(struct adapter *adapter, u32 addr, u8 *buf, u16 len)
{ {
u32 bank; u32 bank;
...@@ -554,7 +554,7 @@ static void sram_read(struct adapter *adapter, u32 addr, u8 *buf, u32 len) ...@@ -554,7 +554,7 @@ static void sram_read(struct adapter *adapter, u32 addr, u8 *buf, u32 len)
length = (((addr >> 0x0f) + 1) << 0x0f) - addr; length = (((addr >> 0x0f) + 1) << 0x0f) - addr;
} }
sram_readChunk(adapter, addr, buf, length); sram_read_chunk(adapter, addr, buf, length);
addr = addr + length; addr = addr + length;
buf = buf + length; buf = buf + length;
...@@ -576,7 +576,7 @@ static void sram_write(struct adapter *adapter, u32 addr, u8 *buf, u32 len) ...@@ -576,7 +576,7 @@ static void sram_write(struct adapter *adapter, u32 addr, u8 *buf, u32 len)
length = (((addr >> 0x0f) + 1) << 0x0f) - addr; length = (((addr >> 0x0f) + 1) << 0x0f) - addr;
} }
sram_writeChunk(adapter, addr, buf, length); sram_write_chunk(adapter, addr, buf, length);
addr = addr + length; addr = addr + length;
buf = buf + length; buf = buf + length;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment