summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/radeon/r520.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/radeon/r520.c')
-rw-r--r--sys/dev/pci/drm/radeon/r520.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/radeon/r520.c b/sys/dev/pci/drm/radeon/r520.c
index 3f51ef2028b..074cf752fae 100644
--- a/sys/dev/pci/drm/radeon/r520.c
+++ b/sys/dev/pci/drm/radeon/r520.c
@@ -25,7 +25,7 @@
* Alex Deucher
* Jerome Glisse
*/
-#include <dev/pci/drm/drmP.h>
+#include <drm/drmP.h>
#include "radeon.h"
#include "radeon_asic.h"
#include "atom.h"
@@ -86,8 +86,7 @@ static void r520_gpu_init(struct radeon_device *rdev)
(((gb_pipe_select >> 8) & 0xF) << 4);
WREG32_PLL(0x000D, tmp);
if (r520_mc_wait_for_idle(rdev)) {
- printk(KERN_WARNING "Failed to wait MC idle while "
- "programming pipes. Bad things might happen.\n");
+ pr_warn("Failed to wait MC idle while programming pipes. Bad things might happen.\n");
}
}