浏览代码

drm/amdgpu: Drop unnecessary #include <linux/vga_switcheroo.h>

This was added to two radeon files even though they don't use any
vga_switcheroo symbols, the amdgpu fork inherited them:

Added to amdgpu_acpi.c by commit d7a2952f1ade ("drm/radeon: Add
support for the ATIF ACPI method to the radeon driver").

Added to amdgpu_bios.c by commit 6a9ee8af344e ("vga_switcheroo:
initial implementation (v15)").

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Lukas Wunner 9 年之前
父节点
当前提交
3d2ce0d239
共有 2 个文件被更改,包括 0 次插入2 次删除
  1. 0 1
      drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
  2. 0 1
      drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c

+ 0 - 1
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c

@@ -25,7 +25,6 @@
 #include <linux/acpi.h>
 #include <linux/slab.h>
 #include <linux/power_supply.h>
-#include <linux/vga_switcheroo.h>
 #include <acpi/video.h>
 #include <drm/drmP.h>
 #include <drm/drm_crtc_helper.h>

+ 0 - 1
drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c

@@ -29,7 +29,6 @@
 #include "amdgpu.h"
 #include "atom.h"
 
-#include <linux/vga_switcheroo.h>
 #include <linux/slab.h>
 #include <linux/acpi.h>
 /*