]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mpc5200: include fs.h in mpc52xx_gpt.c
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 22 Dec 2010 15:42:55 +0000 (16:42 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 23 Dec 2010 19:08:02 +0000 (12:08 -0700)
commit7e8167ab6a6497adf11a74ddde1bcfadc11b70a4
treef33472a3532a2c27c797c65e5075b0f930cc8f91
parentf91b9c58e59e18593993614db109c38410976413
powerpc/mpc5200: include fs.h in mpc52xx_gpt.c

Fix build errors like these (from a randconfig and my defconfig for a custom board):

src/arch/powerpc/platforms/52xx/mpc52xx_gpt.c:549: error: dereferencing pointer to incomplete type: 1 errors in 1 logs
src/arch/powerpc/platforms/52xx/mpc52xx_gpt.c:636: error: implicit declaration of function 'nonseekable_open': 1 errors in 1 logs
src/arch/powerpc/platforms/52xx/mpc52xx_gpt.c:657: error: variable 'mpc52xx_wdt_fops' has initializer but incomplete type: 1 errors in 1 logs
src/arch/powerpc/platforms/52xx/mpc52xx_gpt.c:658: error: excess elements in struct initializer: 1 errors in 1 logs
src/arch/powerpc/platforms/52xx/mpc52xx_gpt.c:658: error: unknown field 'owner' specified in initializer: 1 errors in 1 logs
...

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/platforms/52xx/mpc52xx_gpt.c