ARM: pxa: rename gpio_to_irq and irq_to_gpio
Avoid to define gpio_to_irq() and irq_to_gpio() for potential name confliction since multiple architecture will be built together. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
此提交包含在:
@@ -546,7 +546,7 @@ static struct i2c_board_info __initdata imote2_pwr_i2c_board_info[] = {
|
||||
.type = "da9030",
|
||||
.addr = 0x49,
|
||||
.platform_data = &imote2_da9030_pdata,
|
||||
.irq = gpio_to_irq(1),
|
||||
.irq = PXA_GPIO_TO_IRQ(1),
|
||||
},
|
||||
};
|
||||
|
||||
@@ -913,7 +913,7 @@ static struct i2c_board_info __initdata stargate2_pwr_i2c_board_info[] = {
|
||||
.type = "da9030",
|
||||
.addr = 0x49,
|
||||
.platform_data = &stargate2_da9030_pdata,
|
||||
.irq = gpio_to_irq(1),
|
||||
.irq = PXA_GPIO_TO_IRQ(1),
|
||||
},
|
||||
};
|
||||
|
||||
|
新增問題並參考
封鎖使用者