diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-11-24 08:48:14 +0300 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-12-06 04:45:39 +0300 |
commit | 49f860bb5db877a2c75642e7e19af40e3010afec (patch) | |
tree | f9c3c5bfcbced2565fcaaaa8c745f658ee464ada /arch/sh/drivers | |
parent | 4dfc119f1c0723c54a20ff5ca4ea460ce7a4edb5 (diff) | |
download | linux-49f860bb5db877a2c75642e7e19af40e3010afec.tar.xz |
sh: Make dma-isa depend on ISA_DMA_API.
Previously we linked in the ISA DMA wrapper unconditionally.
As there are very few users of this, it's better to make it
conditional.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/drivers')
-rw-r--r-- | arch/sh/drivers/dma/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/drivers/dma/Makefile b/arch/sh/drivers/dma/Makefile index 065d4c90970e..db1295d32268 100644 --- a/arch/sh/drivers/dma/Makefile +++ b/arch/sh/drivers/dma/Makefile @@ -2,8 +2,8 @@ # Makefile for the SuperH DMA specific kernel interface routines under Linux. # -obj-y += dma-api.o dma-isa.o +obj-y += dma-api.o +obj-$(CONFIG_ISA_DMA_API) += dma-isa.o obj-$(CONFIG_SYSFS) += dma-sysfs.o obj-$(CONFIG_SH_DMA) += dma-sh.o obj-$(CONFIG_SH_DREAMCAST) += dma-pvr2.o dma-g2.o - |