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)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Nov 2015 10:15:41 +0000 (11:15 +0100)
commit1b4a5ddb127caf125e14551ebd334be1acf21805
treeac3db57a20eafa0bbfb0fb64840a1ff010dadb22
parent4e7d30dba493b60a80e9b590add1b4402265cc83
MIPS: CDMM: Add builtin_mips_cdmm_driver() macro

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
Cc: <stable@vger.kernel.org> # 4.2.x-
Patchwork: http://patchwork.linux-mips.org/patch/11264/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/cdmm.h