]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0a11c5df5be090e911efdc965843311edc3bedf3
tree694db935cac517f3b265e13670ec9da9cbf1368c
parent90eb9c405b97a2e3f6ad0eb4f8719658819c36d0
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