Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197286
b: refs/heads/master
c: 2342df0
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed May 11, 2010
1 parent ccd69f3 commit c2ee70f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 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: 7ec21181d22891ecebcd01075a819a4373c54362
refs/heads/master: 2342df0e63f4ca9a4227ea06f951f09180497914
10 changes: 4 additions & 6 deletions trunk/drivers/staging/dt3155v4l/dt3155v4l.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static u8 config_init = ACQ_MODE_EVEN;
* in a byte pointed by data.
*/
static int
read_i2c_reg(void *addr, u8 index, u8 *data)
read_i2c_reg(void __iomem *addr, u8 index, u8 *data)
{
u32 tmp = index;

Expand Down Expand Up @@ -102,7 +102,7 @@ read_i2c_reg(void *addr, u8 index, u8 *data)
* and busy waits for the process to finish.
*/
static int
write_i2c_reg(void *addr, u8 index, u8 data)
write_i2c_reg(void __iomem *addr, u8 index, u8 data)
{
u32 tmp = index;

Expand Down Expand Up @@ -134,8 +134,7 @@ write_i2c_reg(void *addr, u8 index, u8 data)
* This function starts writting the specified (by index) register
* and then returns.
*/
void
write_i2c_reg_nowait(void *addr, u8 index, u8 data)
static void write_i2c_reg_nowait(void __iomem *addr, u8 index, u8 data)
{
u32 tmp = index;

Expand All @@ -152,8 +151,7 @@ write_i2c_reg_nowait(void *addr, u8 index, u8 data)
*
* This function waits reading/writting to finish.
*/
static int
wait_i2c_reg(void *addr)
static int wait_i2c_reg(void __iomem *addr)
{
if (ioread32(addr + IIC_CSR2) & NEW_CYCLE)
udelay(65); /* wait at least 63 usec for NEW_CYCLE to clear */
Expand Down

0 comments on commit c2ee70f

Please sign in to comment.