video: tegra: host: nvdla: fix sparse warning

Fix sparse warning:
 nvdla.c:40:1: warning: symbol 'attrs' was not declared.
 Should it be static?

Bug 200088648

Change-Id: Ic83c46c938fe82d1e8cbdd7c7e2337b39580cc88
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/1167423
Reviewed-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
This commit is contained in:
Shridhar Rasal
2016-06-19 13:27:15 +05:30
committed by Laxman Dewangan
parent 1dc4850403
commit c1215d91b5

View File

@@ -37,7 +37,7 @@
#include "nvdla_ucode_interface.h"
#define DEBUG_BUFFER_SIZE 0x100
DEFINE_DMA_ATTRS(attrs);
static DEFINE_DMA_ATTRS(attrs);
/* data structure to keep device data */
struct nvdla {