Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[ARM] 4944/2: magician: enable i2c bus

Since recent PXA changes the (non-power-)I2C bus has to be explicitly
enabled from board initialisation code.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Philipp Zabel and committed by
Russell King
e6816f34 103a1754

+2
+2
arch/arm/mach-pxa/magician.c
··· 29 29 #include <asm/arch/magician.h> 30 30 #include <asm/arch/pxa-regs.h> 31 31 #include <asm/arch/pxafb.h> 32 + #include <asm/arch/i2c.h> 32 33 #include <asm/arch/irda.h> 33 34 #include <asm/arch/ohci.h> 34 35 ··· 202 201 static void __init magician_init(void) 203 202 { 204 203 platform_add_devices(devices, ARRAY_SIZE(devices)); 204 + pxa_set_i2c_info(NULL); 205 205 pxa_set_ohci_info(&magician_ohci_info); 206 206 pxa_set_ficp_info(&magician_ficp_info); 207 207 set_pxa_fb_info(&toppoly_info);