summaryrefslogtreecommitdiffstats
path: root/drivers/dma/amba-pl08x.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-04-09 01:26:19 +0200
committerVinod Koul <vinod.koul@linux.intel.com>2012-04-25 11:35:25 +0200
commitc847382838ca503b6c55fb599160146221a2c141 (patch)
treefda89297dbcfb8d5319832cef4d665ba953f1d6a /drivers/dma/amba-pl08x.c
parentdma/ste_dma40: fix erroneous comparison (diff)
downloadlinux-c847382838ca503b6c55fb599160146221a2c141.tar.xz
linux-c847382838ca503b6c55fb599160146221a2c141.zip
dma: pl330: fix a couple of compilation warnings
Move a couple of tests and do a minor refactor to avoid: drivers/dma/pl330.c: In function 'pl330_probe': drivers/dma/pl330.c:2929:215: warning: comparison of distinct pointer types lacks a cast [enabled by default] drivers/dma/pl330.c: In function 'pl330_tasklet': drivers/dma/pl330.c:2250:8: warning: 'pch' may be used uninitialized in this function [-Wuninitialized] drivers/dma/pl330.c:2228:25: note: 'pch' was declared here drivers/dma/pl330.c:2277:130: warning: 'pch' may be used uninitialized in this function [-Wuninitialized] drivers/dma/pl330.c:2260:25: note: 'pch' was declared here Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma/amba-pl08x.c')
0 files changed, 0 insertions, 0 deletions