From: Paul Mundt Date: Fri, 24 Nov 2006 05:48:14 +0000 (+0900) Subject: sh: Make dma-isa depend on ISA_DMA_API. X-Git-Tag: v2.6.20-rc1~34^2~20^2~32^2~19 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=49f860bb5db877a2c75642e7e19af40e3010afec;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/arch/sh/drivers/dma/Makefile b/arch/sh/drivers/dma/Makefile index 065d4c90970..db1295d3226 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 -