summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2015-07-13 15:50:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-14 15:50:54 -0700
commit5605b188833fc60c297e0a3927e274349a172f59 (patch)
tree0113883b48806083dd644153a2426cfdf8e097d6 /drivers/staging
parenta5cb88804d51b9d272d1d15ea348a244ba4d26c3 (diff)
downloadlinux-stable-5605b188833fc60c297e0a3927e274349a172f59.tar.gz
linux-stable-5605b188833fc60c297e0a3927e274349a172f59.tar.bz2
linux-stable-5605b188833fc60c297e0a3927e274349a172f59.zip
staging: android: ion: reorder variable definitions
Prevents false positive "missing empty line after a definition" checkpatch warning. Signed-off-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/android/ion/ion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c
index 6f4811263557..6c922c7817f9 100644
--- a/drivers/staging/android/ion/ion.c
+++ b/drivers/staging/android/ion/ion.c
@@ -1103,10 +1103,10 @@ static struct dma_buf_ops dma_buf_ops = {
struct dma_buf *ion_share_dma_buf(struct ion_client *client,
struct ion_handle *handle)
{
+ DEFINE_DMA_BUF_EXPORT_INFO(exp_info);
struct ion_buffer *buffer;
struct dma_buf *dmabuf;
bool valid_handle;
- DEFINE_DMA_BUF_EXPORT_INFO(exp_info);
mutex_lock(&client->lock);
valid_handle = ion_handle_validate(client, handle);