diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2015-01-14 16:58:51 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-01-22 12:17:48 +1000 |
commit | c4345146dbee38d949efd3a7b96d1bea962a29f2 (patch) | |
tree | 933e06b723f3a01842081b1dfe9388908b807779 /drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h | |
parent | 37a5d028913f7ac614cd79b1e7adaff19c59d2f1 (diff) | |
download | linux-c4345146dbee38d949efd3a7b96d1bea962a29f2.tar.bz2 |
drm/nouveau/core: split device index enum out on its own
To avoid having to include core/device.h where it's not otherwise
required.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h b/drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h index 68f1c419d156..152c842e1f66 100644 --- a/drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h +++ b/drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h @@ -2,6 +2,7 @@ #define __NOUVEAU_SUBDEV_H__ #include <core/object.h> +#include <core/devidx.h> #define NV_SUBDEV_(sub,var) (NV_SUBDEV_CLASS | ((var) << 8) | (sub)) #define NV_SUBDEV(name,var) NV_SUBDEV_(NVDEV_SUBDEV_##name, (var)) |