summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/driver_common.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-11-28 18:19:47 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-12-01 11:37:08 -0500
commitda9b1bbac2b1b125fcd981c99a09fb51aee00dd2 (patch)
tree0058372cea8933e9bef981933a0ab403d258e30f /drivers/gpu/nvgpu/common/linux/driver_common.c
parent5e9f4bbf8ddff9fbe060839a60dcc2168ca3d57c (diff)
gpu: nvgpu: Introduce include/nvpgu/sizes.h
We use SZ_* #defines in some parts of nvgpu, but we don't explicitly include a header that defines it. Add include/nvgpu/sizes.h that in Linux #includes linux/sizes.h. Change-Id: I8f506d85c7eaa12e649f5874a87533e2f0fe9438 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1607575 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/driver_common.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/driver_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/driver_common.c b/drivers/gpu/nvgpu/common/linux/driver_common.c
index 1d1e5371..425198d5 100644
--- a/drivers/gpu/nvgpu/common/linux/driver_common.c
+++ b/drivers/gpu/nvgpu/common/linux/driver_common.c
@@ -24,6 +24,7 @@
24#include <nvgpu/bug.h> 24#include <nvgpu/bug.h>
25#include <nvgpu/enabled.h> 25#include <nvgpu/enabled.h>
26#include <nvgpu/debug.h> 26#include <nvgpu/debug.h>
27#include <nvgpu/sizes.h>
27 28
28#include "scale.h" 29#include "scale.h"
29#include "gk20a/gk20a.h" 30#include "gk20a/gk20a.h"