Fix ttyFDC build breakage since v4.2-rc3, due to use of module_driver() without including module.h (its currently a builtin only driver). The first patch adds a macro used by second patch, so they both need to go into stable v4.2 together. James Hogan (2): MIPS: CDMM: Add builtin_mips_cdmm_driver() macro ttyFDC: Fix build problems due to use of module_{init,exit} arch/mips/include/asm/cdmm.h | 11 +++++++++++ drivers/tty/mips_ejtag_fdc.c | 35 +---------------------------------- 2 files changed, 12 insertions(+), 34 deletions(-) Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Cc: Jiri Slaby <jslaby@xxxxxxxx> Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Cc: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> Cc: linux-mips@xxxxxxxxxxxxxx Cc: <stable@xxxxxxxxxxxxxxx> -- 2.4.9