Files
android_kernel_xiaomi_sm8450/include/linux/platform_data
Arnd Bergmann b2dc0c2b7a ARM: s3c: i2c: add platform_device forward declaration
A recent cleanup to the mach-osiris.c file is causing build errors
because the i2c-s3c2410.h header file is included before we see
the definition for platform_device. The fix is to make the header file
more robust against inclusion from other places. While this should
normally go through the i2c tree, the bug only exists in arm-soc
at the moment, so it's easier to fix it there before it goes upstream.

Without this patch, building s3c2410_defconfig results in:

arch/arm/mach-s3c24xx/mach-osiris.c:34:0:
include/linux/platform_data/i2c-s3c2410.h:37:26: warning: 'struct platform_device' declared inside parameter list [enabled by default]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: linux-i2c@vger.kernel.org
Cc: Wolfram Sang <w.sang@pengutronix.de>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Kukjin Kim <kgene.kim@samsung.com>
2013-02-14 15:04:40 +01:00
..
2012-10-19 18:46:51 +01:00
2012-09-17 20:55:54 +01:00
2012-06-30 10:15:07 +01:00
2012-09-08 10:20:09 +01:00
2012-12-05 10:55:54 -08:00
2012-07-11 15:36:45 -07:00
2012-05-18 00:00:45 +02:00
2012-11-02 12:00:36 -07:00
2012-05-22 06:48:02 -07:00
2012-12-03 18:48:23 +01:00
2012-09-23 21:08:33 -07:00
2012-08-16 12:12:25 -07:00
2012-06-13 13:13:37 +01:00
2012-09-14 08:14:07 +05:30
2012-12-06 13:54:51 -05:00
2012-09-05 13:21:46 -07:00
2012-09-18 12:28:22 +02:00