From: Kedareswara rao Appana Date: Thu, 7 Dec 2017 05:21:06 +0000 (+0530) Subject: dmaengine: xilinx_dma: fix style issues from checkpatch X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=22653af70eed34d18542d6c7e6ae9224d0cd94cd;p=openwrt%2Fstaging%2Fblogic.git dmaengine: xilinx_dma: fix style issues from checkpatch This patch fixes below. ERROR: open brace '{' following function definitions go on the next line +static int xilinx_dma_child_probe(struct xilinx_dma_device *xdev, + struct device_node *node) { Signed-off-by: Kedareswara rao Appana Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c index eaa93fe93820..b09a8efcfb2d 100644 --- a/drivers/dma/xilinx/xilinx_dma.c +++ b/drivers/dma/xilinx/xilinx_dma.c @@ -2484,7 +2484,8 @@ static int xilinx_dma_chan_probe(struct xilinx_dma_device *xdev, * Return: 0 always. */ static int xilinx_dma_child_probe(struct xilinx_dma_device *xdev, - struct device_node *node) { + struct device_node *node) +{ int ret, i, nr_channels = 1; ret = of_property_read_u32(node, "dma-channels", &nr_channels);