aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/via
diff options
context:
space:
mode:
authorWang Shaoyan <wangshaoyan.pt@taobao.com>2011-08-06 09:26:20 -0400
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-08-06 16:18:53 -0400
commit363699722a2a6801d098693fa15bc3b68d6b4f31 (patch)
tree87e508b9c8e1ceccd7c3bb624b09c5ee2bb3b27a /drivers/video/via
parent0492262281b82e71c6063e35ef73a33fad93cc6d (diff)
viafb: fix pointer type missmatch
drivers/video/via/via-core.c: In function 'via_pci_probe': drivers/video/via/via-core.c:691: warning: assignment discards qualifiers from pointer target type Signed-off-by: Wang Shaoyan <wangshaoyan.pt@taobao.com> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via')
-rw-r--r--drivers/video/via/via-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/via/via-core.c b/drivers/video/via/via-core.c
index eb112b621735..dd58b530c0df 100644
--- a/drivers/video/via/via-core.c
+++ b/drivers/video/via/via-core.c
@@ -35,7 +35,7 @@ static struct via_port_cfg adap_configs[] = {
35 * The OLPC XO-1.5 puts the camera power and reset lines onto 35 * The OLPC XO-1.5 puts the camera power and reset lines onto
36 * GPIO 2C. 36 * GPIO 2C.
37 */ 37 */
38static const struct via_port_cfg olpc_adap_configs[] = { 38static struct via_port_cfg olpc_adap_configs[] = {
39 [VIA_PORT_26] = { VIA_PORT_I2C, VIA_MODE_I2C, VIASR, 0x26 }, 39 [VIA_PORT_26] = { VIA_PORT_I2C, VIA_MODE_I2C, VIASR, 0x26 },
40 [VIA_PORT_31] = { VIA_PORT_I2C, VIA_MODE_I2C, VIASR, 0x31 }, 40 [VIA_PORT_31] = { VIA_PORT_I2C, VIA_MODE_I2C, VIASR, 0x31 },
41 [VIA_PORT_25] = { VIA_PORT_GPIO, VIA_MODE_GPIO, VIASR, 0x25 }, 41 [VIA_PORT_25] = { VIA_PORT_GPIO, VIA_MODE_GPIO, VIASR, 0x25 },