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:31:09 +0000 (14:31 -0500)
commitd022dec28eacc745f36aa8a55045bc939b91eaa7
tree8b25afc329416b834cb904fcc4005040c87e3780
parent1d88214f5a7a3ac68459261a6075570c13a6d9d5
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