summaryrefslogtreecommitdiff
path: root/drm/nouveau/include/nvkm/core/tegra.h
diff options
context:
space:
mode:
Diffstat (limited to 'drm/nouveau/include/nvkm/core/tegra.h')
-rw-r--r--drm/nouveau/include/nvkm/core/tegra.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drm/nouveau/include/nvkm/core/tegra.h b/drm/nouveau/include/nvkm/core/tegra.h
new file mode 100644
index 000000000..162986e7f
--- /dev/null
+++ b/drm/nouveau/include/nvkm/core/tegra.h
@@ -0,0 +1,14 @@
+#ifndef __NVKM_DEVICE_TEGRA_H__
+#define __NVKM_DEVICE_TEGRA_H__
+#include <core/device.h>
+
+struct nvkm_device_tegra {
+ struct nvkm_device device;
+ struct platform_device *pdev;
+};
+
+int nvkm_device_tegra_new(struct platform_device *,
+ const char *cfg, const char *dbg,
+ bool detect, bool mmio, u64 subdev_mask,
+ struct nvkm_device **);
+#endif