From: 柯飞雄 Date: Wed, 12 May 2010 10:03:49 +0000 (+0000) Subject: mod i2c X-Git-Tag: firefly_0821_release~11560 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=93596a983f19d606817978141e88c3c90ba314e0;p=firefly-linux-kernel-4.4.55.git mod i2c --- diff --git a/arch/arm/mach-rk2818/board-midsdk.c b/arch/arm/mach-rk2818/board-midsdk.c index bc6e3c340b06..f8bd720a88f8 100644 --- a/arch/arm/mach-rk2818/board-midsdk.c +++ b/arch/arm/mach-rk2818/board-midsdk.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include diff --git a/arch/arm/mach-rk2818/devices.h b/arch/arm/mach-rk2818/devices.h index 15766a01d5e6..0b4458115a0f 100644 --- a/arch/arm/mach-rk2818/devices.h +++ b/arch/arm/mach-rk2818/devices.h @@ -21,5 +21,7 @@ extern struct platform_device rk2818_device_uart1; extern struct platform_device rk2818_device_uart2; extern struct platform_device rk2818_device_uart3; extern struct platform_device rk2818_device_spim; +extern struct platform_device rk2818_device_i2c0; +extern struct platform_device rk2818_device_i2c1; #endif