summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/subdev/bios/perf.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-08-20 14:54:06 +1000
committerBen Skeggs <bskeggs@redhat.com>2015-08-28 12:37:26 +1000
commit82f00052500c9fff9d7dc5763775b3b51dda1117 (patch)
treed1c6ee3cbb2deffc31d7d4ee7ceb1c3c5ee6e1aa /drm/nouveau/nvkm/subdev/bios/perf.c
parente98fd02942467878208d8e5bca8367863f2ad2bf (diff)
downloadnouveau-82f00052500c9fff9d7dc5763775b3b51dda1117.tar.gz
device: include core/device.h automatically for subdevs/engines
Pretty much every subdev/engine is going to need access to nvkm_device shortly to touch registers and/or output messages. The odd placement of the includes is necessary to work around some inter-dependencies that currently exist. This will be fixed later. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm/nouveau/nvkm/subdev/bios/perf.c')
-rw-r--r--drm/nouveau/nvkm/subdev/bios/perf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drm/nouveau/nvkm/subdev/bios/perf.c b/drm/nouveau/nvkm/subdev/bios/perf.c
index 382ae9cdb..1e70d0eae 100644
--- a/drm/nouveau/nvkm/subdev/bios/perf.c
+++ b/drm/nouveau/nvkm/subdev/bios/perf.c
@@ -25,8 +25,6 @@
#include <subdev/bios/bit.h>
#include <subdev/bios/perf.h>
-#include <core/device.h>
-
u16
nvbios_perf_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr,
u8 *cnt, u8 *len, u8 *snr, u8 *ssz)