diff options
Diffstat (limited to 'drivers/video/riva/rivafb-i2c.c')
-rw-r--r-- | drivers/video/riva/rivafb-i2c.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/riva/rivafb-i2c.c b/drivers/video/riva/rivafb-i2c.c index 77151d8e0766..8b1967fc116a 100644 --- a/drivers/video/riva/rivafb-i2c.c +++ b/drivers/video/riva/rivafb-i2c.c | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | static void riva_gpio_setscl(void* data, int state) | 31 | static void riva_gpio_setscl(void* data, int state) |
32 | { | 32 | { |
33 | struct riva_i2c_chan *chan = (struct riva_i2c_chan *)data; | 33 | struct riva_i2c_chan *chan = data; |
34 | struct riva_par *par = chan->par; | 34 | struct riva_par *par = chan->par; |
35 | u32 val; | 35 | u32 val; |
36 | 36 | ||
@@ -48,7 +48,7 @@ static void riva_gpio_setscl(void* data, int state) | |||
48 | 48 | ||
49 | static void riva_gpio_setsda(void* data, int state) | 49 | static void riva_gpio_setsda(void* data, int state) |
50 | { | 50 | { |
51 | struct riva_i2c_chan *chan = (struct riva_i2c_chan *)data; | 51 | struct riva_i2c_chan *chan = data; |
52 | struct riva_par *par = chan->par; | 52 | struct riva_par *par = chan->par; |
53 | u32 val; | 53 | u32 val; |
54 | 54 | ||
@@ -66,7 +66,7 @@ static void riva_gpio_setsda(void* data, int state) | |||
66 | 66 | ||
67 | static int riva_gpio_getscl(void* data) | 67 | static int riva_gpio_getscl(void* data) |
68 | { | 68 | { |
69 | struct riva_i2c_chan *chan = (struct riva_i2c_chan *)data; | 69 | struct riva_i2c_chan *chan = data; |
70 | struct riva_par *par = chan->par; | 70 | struct riva_par *par = chan->par; |
71 | u32 val = 0; | 71 | u32 val = 0; |
72 | 72 | ||
@@ -81,7 +81,7 @@ static int riva_gpio_getscl(void* data) | |||
81 | 81 | ||
82 | static int riva_gpio_getsda(void* data) | 82 | static int riva_gpio_getsda(void* data) |
83 | { | 83 | { |
84 | struct riva_i2c_chan *chan = (struct riva_i2c_chan *)data; | 84 | struct riva_i2c_chan *chan = data; |
85 | struct riva_par *par = chan->par; | 85 | struct riva_par *par = chan->par; |
86 | u32 val = 0; | 86 | u32 val = 0; |
87 | 87 | ||