mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 10:44:14 +08:00
[ARM] pxa: fix I2C controller device being registered twice on Akita
Signed-off-by: Eric Miao <eric.miao@marvell.com> Cc: Richard Purdie <rpurdie@rpsys.net>
This commit is contained in:
parent
6cc4abe43e
commit
38cd809e67
@ -686,7 +686,6 @@ static void __init akita_init(void)
|
|||||||
spitz_pcmcia_config.num_devs = 1;
|
spitz_pcmcia_config.num_devs = 1;
|
||||||
platform_scoop_config = &spitz_pcmcia_config;
|
platform_scoop_config = &spitz_pcmcia_config;
|
||||||
|
|
||||||
pxa_set_i2c_info(NULL);
|
|
||||||
i2c_register_board_info(0, ARRAY_AND_SIZE(akita_i2c_board_info));
|
i2c_register_board_info(0, ARRAY_AND_SIZE(akita_i2c_board_info));
|
||||||
|
|
||||||
common_init();
|
common_init();
|
||||||
|
Loading…
Reference in New Issue
Block a user