]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
MIPS: CDMM: Add builtin_mips_cdmm_driver() macro
authorJames Hogan <james.hogan@imgtec.com>
Tue, 6 Oct 2015 14:12:05 +0000 (15:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Dec 2015 19:34:14 +0000 (14:34 -0500)
commitc6f3f16cccadfb898160bd9d2cfdb58574db4123
tree719d96606e2d5b60b283bb2c8f47514b25f8e504
parent9473e288c36140f5b2e0cedc9b8fbcc7443838b9
MIPS: CDMM: Add builtin_mips_cdmm_driver() macro

commit 1b4a5ddb127caf125e14551ebd334be1acf21805 upstream.

Add helper macro builtin_mips_cdmm_driver() for builtin CDMM drivers
that don't do anything special in init and have no exit. The
module_mips_cdmm_driver() helper isn't really appropriate for drivers
that can't be built as a module.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/11264/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/include/asm/cdmm.h