Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 64a9dfc4 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Daniel Vetter
Browse files

drm/radeon: fix include notation and remove -Iinclude/drm flag



Include <drm/*.h> instead of relative path from include/drm, then
remove the -Iinclude/drm compiler flag.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: default avatarMichel Dänzer <michel.daenzer@amd.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1493009447-31524-14-git-send-email-yamada.masahiro@socionext.com
parent edaf492c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2,7 +2,7 @@
# Makefile for the drm device driver.  This driver provides support for the
# Makefile for the drm device driver.  This driver provides support for the
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.


ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/amd/include
ccflags-y := -Idrivers/gpu/drm/amd/include


hostprogs-y := mkregtable
hostprogs-y := mkregtable
clean-files := rn50_reg_safe.h r100_reg_safe.h r200_reg_safe.h rv515_reg_safe.h r300_reg_safe.h r420_reg_safe.h rs600_reg_safe.h r600_reg_safe.h evergreen_reg_safe.h cayman_reg_safe.h
clean-files := rn50_reg_safe.h r100_reg_safe.h r200_reg_safe.h rv515_reg_safe.h r300_reg_safe.h r420_reg_safe.h rs600_reg_safe.h r600_reg_safe.h evergreen_reg_safe.h cayman_reg_safe.h
+1 −1
Original line number Original line Diff line number Diff line
@@ -22,7 +22,7 @@
 * Authors: Alex Deucher
 * Authors: Alex Deucher
 */
 */


#include "drmP.h"
#include <drm/drmP.h>
#include "radeon.h"
#include "radeon.h"
#include "radeon_asic.h"
#include "radeon_asic.h"
#include "btcd.h"
#include "btcd.h"
+1 −1
Original line number Original line Diff line number Diff line
@@ -22,7 +22,7 @@
 */
 */


#include <linux/firmware.h>
#include <linux/firmware.h>
#include "drmP.h"
#include <drm/drmP.h>
#include "radeon.h"
#include "radeon.h"
#include "radeon_asic.h"
#include "radeon_asic.h"
#include "radeon_ucode.h"
#include "radeon_ucode.h"
+1 −1
Original line number Original line Diff line number Diff line
@@ -23,7 +23,7 @@
 */
 */


#include <linux/firmware.h>
#include <linux/firmware.h>
#include "drmP.h"
#include <drm/drmP.h>
#include "radeon.h"
#include "radeon.h"
#include "cikd.h"
#include "cikd.h"
#include "ppsmc.h"
#include "ppsmc.h"
+1 −1
Original line number Original line Diff line number Diff line
@@ -24,7 +24,7 @@
#include <linux/firmware.h>
#include <linux/firmware.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/module.h>
#include "drmP.h"
#include <drm/drmP.h>
#include "radeon.h"
#include "radeon.h"
#include "radeon_asic.h"
#include "radeon_asic.h"
#include "radeon_audio.h"
#include "radeon_audio.h"
Loading