Re: [PATCH 10/11] ARM: s3c: i2c: add platform_device forward declaration

2013-02-15 Thread Wolfram Sang
On Thu, Feb 14, 2013 at 02:49:26PM +0100, Arnd Bergmann wrote: > 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

Re: [PATCH 10/11] ARM: s3c: i2c: add platform_device forward declaration

2013-02-15 Thread Wolfram Sang
On Thu, Feb 14, 2013 at 02:49:26PM +0100, Arnd Bergmann wrote: 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

[PATCH 10/11] ARM: s3c: i2c: add platform_device forward declaration

2013-02-14 Thread Arnd Bergmann
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

[PATCH 10/11] ARM: s3c: i2c: add platform_device forward declaration

2013-02-14 Thread Arnd Bergmann
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