linux-next: trivial tree build failure

From: Stephen Rothwell
Date: Mon Jan 18 2010 - 00:24:26 EST


Hi Jiri,

Today's linux-next build (x86_64_allmodconfig) failed like this:

drivers/mfd/ab3100-otp.c: In function 'show_otp':
drivers/mfd/ab3100-otp.c:101: error: dereferencing pointer to incomplete type
drivers/mfd/ab3100-otp.c:104: error: implicit declaration of function 'seq_printf'
drivers/mfd/ab3100-otp.c:102: warning: unused variable 'err'
drivers/mfd/ab3100-otp.c: In function 'ab3100_otp_open':
drivers/mfd/ab3100-otp.c:116: error: implicit declaration of function 'single_open'
drivers/mfd/ab3100-otp.c:116: error: 'ab3100_otp_show' undeclared (first use in this function)
drivers/mfd/ab3100-otp.c: At top level:
drivers/mfd/ab3100-otp.c:121: error: 'seq_read' undeclared here (not in a function)
drivers/mfd/ab3100-otp.c:122: error: 'seq_lseek' undeclared here (not in a function)
drivers/mfd/ab3100-otp.c:123: error: 'single_release' undeclared here (not in a function)
drivers/mfd/ab3100-otp.c: In function 'ab3100_otp_init_debugfs':
drivers/mfd/ab3100-otp.c:134: error: 'err' undeclared (first use in this function)
drivers/mfd/ab3100-otp.c: In function 'ab3100_otp_exit_debugfs':
drivers/mfd/ab3100-otp.c:140: error: implicit declaration of function 'debugfs_remove_file'

Exposed by commit 8dcafdf0475eb4633401d1f0bf0e0d35e4ebb9d5
"CONFIG_DEBUG_FS wrongly written as CONFIG_DEBUGFS".

I have reverted that commit for today.

That file probably just needs to include <linux/seq_file.h> ...

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature