drm/nouveau/pci: merge agp handling from nouveau drm
[linux-2.6-block.git] / drivers / gpu / drm / nouveau / include / nvkm / core / tegra.h
CommitLineData
7974dd1b
BS
1#ifndef __NVKM_DEVICE_TEGRA_H__
2#define __NVKM_DEVICE_TEGRA_H__
3#include <core/device.h>
4
5struct nvkm_device_tegra {
6 struct nvkm_device device;
7 struct platform_device *pdev;
2b700825 8 int irq;
7974dd1b
BS
9};
10
11int nvkm_device_tegra_new(struct platform_device *,
12 const char *cfg, const char *dbg,
13 bool detect, bool mmio, u64 subdev_mask,
14 struct nvkm_device **);
15#endif