summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/subdev/bios/shadowacpi.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/shadowacpi.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/shadowacpi.c')
-rw-r--r--drm/nouveau/nvkm/subdev/bios/shadowacpi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drm/nouveau/nvkm/subdev/bios/shadowacpi.c b/drm/nouveau/nvkm/subdev/bios/shadowacpi.c
index f9d0eb564..74604d4a7 100644
--- a/drm/nouveau/nvkm/subdev/bios/shadowacpi.c
+++ b/drm/nouveau/nvkm/subdev/bios/shadowacpi.c
@@ -22,8 +22,6 @@
*/
#include "priv.h"
-#include <core/device.h>
-
#if defined(CONFIG_ACPI) && defined(CONFIG_X86)
int nouveau_acpi_get_bios_chunk(uint8_t *bios, int offset, int len);
bool nouveau_acpi_rom_supported(struct pci_dev *pdev);