diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2014-07-31 09:34:04 +0900 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-07-31 17:15:45 +0530 |
commit | 9f2c2bb31258e11b1ebaf73bdf2a88f8afaa2dd2 (patch) | |
tree | 79ee6e9d5fda4f30474c09d87a2d83e9c5a7fe2d /drivers/dma/sh/Makefile | |
parent | 4fbd804e009ae9dff29dcb1fbfa0aaffd3992880 (diff) | |
download | op-kernel-dev-9f2c2bb31258e11b1ebaf73bdf2a88f8afaa2dd2.zip op-kernel-dev-9f2c2bb31258e11b1ebaf73bdf2a88f8afaa2dd2.tar.gz |
dmaengine: sh: Rework Kconfig and Makefile
Separate helpers and drivers in the Kconfig and Makefile to improve
readability and move the CONFIG_OF dependency from the Makefile to
Kconfig.
[pebolle@tiscali.nl: reported need to rename SHDMA_R8A73A4 instances]
Reported-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
[horms+renesas@verge.net.au: squashed rename of SHDMA_R8A73A4 instances]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/sh/Makefile')
-rw-r--r-- | drivers/dma/sh/Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/drivers/dma/sh/Makefile b/drivers/dma/sh/Makefile index 1ce88b2..0a5cfdb 100644 --- a/drivers/dma/sh/Makefile +++ b/drivers/dma/sh/Makefile @@ -1,10 +1,18 @@ +# +# DMA Engine Helpers +# + obj-$(CONFIG_SH_DMAE_BASE) += shdma-base.o shdma-of.o -obj-$(CONFIG_SH_DMAE) += shdma.o + +# +# DMA Controllers +# + shdma-y := shdmac.o -ifeq ($(CONFIG_OF),y) -shdma-$(CONFIG_SHDMA_R8A73A4) += shdma-r8a73a4.o -endif +shdma-$(CONFIG_SH_DMAE_R8A73A4) += shdma-r8a73a4.o shdma-objs := $(shdma-y) +obj-$(CONFIG_SH_DMAE) += shdma.o + obj-$(CONFIG_SUDMAC) += sudmac.o obj-$(CONFIG_RCAR_HPB_DMAE) += rcar-hpbdma.o obj-$(CONFIG_RCAR_AUDMAC_PP) += rcar-audmapp.o |