DMA: shdma: Fix warnings due to declared but unused symbols
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 11 Dec 2013 12:43:05 +0000 (13:43 +0100)
committerVinod Koul <vinod.koul@intel.com>
Thu, 6 Mar 2014 06:05:24 +0000 (11:35 +0530)
commit52d6a5ee101bf0e6c1fc5373eebe5c3307e4a0ca
tree694db935cac517f3b265e13670ec9da9cbf1368c
parent42e4a12a0d92d09de66d8b5b2c85855b8051c15e
DMA: shdma: Fix warnings due to declared but unused symbols

Several functions and variables are use on SH_CPU4 or ARM only. Guard
their declaration with conditional compilation directives to avoid
warnings.

Cc: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: dmaengine@vger.kernel.org
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/shdmac.c