dmaengine: coh901318: return ssize_t for coh901318_debugfs_read
authorVinod Koul <vinod.koul@intel.com>
Tue, 13 Sep 2016 16:55:07 +0000 (22:25 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 26 Sep 2016 16:58:10 +0000 (22:28 +0530)
commit66a1a51270a2ed057b41cda234cc3fe2ff7c64bf
tree3f558bc55636ca4fb2807372ef0052b5166fe41c
parent3fd386625679bd2adb94d2a3d25dd2fdd38b52e3
dmaengine: coh901318: return ssize_t for coh901318_debugfs_read

The file_operations.read expects return as ssize_t, so update
coh901318_debugfs_read to return ssize_t to fix the warning:

drivers/dma/coh901318.c:1369:2: warning: initialization from incompatible pointer type [enabled by default]
  .read  = coh901318_debugfs_read,

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/coh901318.c